diff options
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/lib/oe/ b/meta/lib/oe/
index f02dee8d27..bfa7d21879 100644
--- a/meta/lib/oe/
+++ b/meta/lib/oe/
@@ -36,6 +36,22 @@ def runcmd(args, dir = None):
(exitstatus, output) = oe.utils.getstatusoutput(cmd)
if exitstatus != 0:
raise CmdError(cmd, exitstatus >> 8, output)
+ if " fuzz " in output:
+ bb.warn("""
+Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
+The context lines in the patches can be updated with devtool:
+ devtool modify <recipe>
+ devtool finish --force-patch-refresh <recipe> <layer_path>
+Then the updated patches and the source tree (in devtool's workspace)
+should be reviewed to make sure the patches apply in the correct place
+and don't introduce duplicate lines (which can, and does happen
+when some of the context is ignored). Further information:
return output