Patchwork [bitbake-devel,2/2] lib/bb/ log when tainting the signature of a task

mail settings
Submitter Paul Eggleton
Date June 21, 2012, 5:28 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/30409/
State Accepted
Commit 0fd960fdea83874eedb541cbc2920257e0f3fb81
Headers show


Paul Eggleton - June 21, 2012, 5:28 p.m.
Log a note when applying a taint to a task signature (e.g. when using
the -f or -C command line options) so that the user knows this has been

Signed-off-by: Paul Eggleton <>
 lib/bb/ |    1 +
 1 file changed, 1 insertion(+)


diff --git a/lib/bb/ b/lib/bb/
index 0fb2642..edd98fc 100644
--- a/lib/bb/
+++ b/lib/bb/
@@ -268,6 +268,7 @@  class SignatureGeneratorBasicHash(SignatureGeneratorBasic):
         return ("%s.%s.%s.%s" % (stampbase, taskname, h, extrainfo)).rstrip('.')
     def invalidate_task(self, task, d, fn):
+        bb.note("Tainting hash to force rebuild of task %s, %s" % (fn, task)), d, fn)
 def dump_this_task(outfile, d):