]> code.ossystems Code Review - openembedded-core.git/commitdiff
siggen.py: print taskname when seeing mismatched hash in cache
authorKevin Tian <kevin.tian@intel.com>
Thu, 16 Dec 2010 09:00:07 +0000 (17:00 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 20 Dec 2010 14:50:22 +0000 (14:50 +0000)
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
bitbake/lib/bb/siggen.py

index 51983ca19acb14660e8ee787b5469b99c5a1ba96..48f600a2127e6a2ec1965052cc04df0a8a840ed8 100644 (file)
@@ -166,7 +166,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)