summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/patch.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/patch.py')
-rw-r--r--meta/lib/oe/patch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index 584bf6c05f..f02dee8d27 100644
--- a/meta/lib/oe/patch.py
+++ b/meta/lib/oe/patch.py
@@ -212,7 +212,7 @@ class PatchTree(PatchSet):
212 self.patches.insert(i, patch) 212 self.patches.insert(i, patch)
213 213
214 def _applypatch(self, patch, force = False, reverse = False, run = True): 214 def _applypatch(self, patch, force = False, reverse = False, run = True):
215 shellcmd = ["cat", patch['file'], "|", "patch", "-p", patch['strippath']] 215 shellcmd = ["cat", patch['file'], "|", "patch", "--no-backup-if-mismatch", "-p", patch['strippath']]
216 if reverse: 216 if reverse:
217 shellcmd.append('-R') 217 shellcmd.append('-R')
218 218