Message ID | 5323f0951923f201b0ad8f78aa3f42b8c3c97a17.1654698895.git.steve@sakoman.com |
---|---|
State | Accepted, archived |
Commit | 5323f0951923f201b0ad8f78aa3f42b8c3c97a17 |
Headers | show |
Series | [kirkstone,01/22] cve-check: move update_symlinks to a library | expand |
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 9034fcae03..95b915a6ab 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py @@ -598,6 +598,8 @@ class QuiltTree(PatchSet): def Clean(self): try: + # make sure that patches/series file exists before quilt pop to keep quilt-0.67 happy + open(os.path.join(self.dir, "patches","series"), 'a').close() self._runcmd(["pop", "-a", "-f"]) oe.path.remove(os.path.join(self.dir, "patches","series")) except Exception: