[poky] [PATCH 1/3] siggen.py: print taskname when seeing mismatched hash in cache

Kevin Tian kevin.tian at intel.com
Thu Dec 16 01:00:07 PST 2010


Signed-off-by: Kevin Tian <kevin.tian at intel.com>
---
 bitbake/lib/bb/siggen.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 3eecd75..f7c93ae 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -169,7 +169,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
                 if k not in self.taskhash:
                     continue
                 if dataCache.basetaskhash[k] != self.basehash[k]:
-                    bb.error("Bitbake's cached basehash does not match the one we just generated!")
+                    bb.error("Bitbake's cached basehash does not match the one we just generated (%s)!" % k)
                     bb.error("The mismatched hashes were %s and %s" % (dataCache.basetaskhash[k], self.basehash[k]))
                 self.dump_sigtask(fn, task, dataCache.stamp[fn], True)
 
-- 
1.6.0.4




More information about the poky mailing list