diff options
Diffstat (limited to 'meta/lib/oe')
| -rw-r--r-- | meta/lib/oe/patch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 7ca2e28b1f..40755fbb03 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py | |||
| @@ -41,7 +41,7 @@ def runcmd(args, dir = None): | |||
| 41 | (exitstatus, output) = subprocess.getstatusoutput(cmd) | 41 | (exitstatus, output) = subprocess.getstatusoutput(cmd) |
| 42 | if exitstatus != 0: | 42 | if exitstatus != 0: |
| 43 | raise CmdError(cmd, exitstatus >> 8, output) | 43 | raise CmdError(cmd, exitstatus >> 8, output) |
| 44 | if " fuzz " in output: | 44 | if " fuzz " in output and "Hunk " in output: |
| 45 | # Drop patch fuzz info with header and footer to log file so | 45 | # Drop patch fuzz info with header and footer to log file so |
| 46 | # insane.bbclass can handle to throw error/warning | 46 | # insane.bbclass can handle to throw error/warning |
| 47 | bb.note("--- Patch fuzz start ---\n%s\n--- Patch fuzz end ---" % format(output)) | 47 | bb.note("--- Patch fuzz start ---\n%s\n--- Patch fuzz end ---" % format(output)) |
