diff options
-rw-r--r-- | lib/bb/siggen.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py index 89bf5339d..7b9f3debc 100644 --- a/lib/bb/siggen.py +++ b/lib/bb/siggen.py @@ -119,6 +119,12 @@ class SignatureGeneratorBasic(SignatureGenerator): k = fn + "." + task if not ignore_mismatch and k in self.basehash and self.basehash[k] != basehash[k]: bb.error("When reparsing %s, the basehash value changed from %s to %s. The metadata is not deterministic and this needs to be fixed." % (k, self.basehash[k], basehash[k])) + bb.error("The following commands may help:") + cmd = "$ bitbake %s -c%s" % (d.getVar('PN'), task) + # Make sure sigdata is dumped before run printdiff + bb.error("%s -Snone" % cmd) + bb.error("Then:") + bb.error("%s -Sprintdiff\n" % cmd) self.basehash[k] = basehash[k] self.taskdeps[fn] = taskdeps |