summaryrefslogtreecommitdiff
path: root/poky/meta/lib/oe/patch.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/lib/oe/patch.py')
-rw-r--r--poky/meta/lib/oe/patch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/poky/meta/lib/oe/patch.py b/poky/meta/lib/oe/patch.py
index 9034fcae03..95b915a6ab 100644
--- a/poky/meta/lib/oe/patch.py
+++ b/poky/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: