summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oe/patch.py2
1 files changed, 2 insertions, 0 deletions
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):
598 598
599 def Clean(self): 599 def Clean(self):
600 try: 600 try:
601 # make sure that patches/series file exists before quilt pop to keep quilt-0.67 happy
602 open(os.path.join(self.dir, "patches","series"), 'a').close()
601 self._runcmd(["pop", "-a", "-f"]) 603 self._runcmd(["pop", "-a", "-f"])
602 oe.path.remove(os.path.join(self.dir, "patches","series")) 604 oe.path.remove(os.path.join(self.dir, "patches","series"))
603 except Exception: 605 except Exception: