From patchwork Thu Jun 21 17:28:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel, 2/2] lib/bb/siggen.py: log when tainting the signature of a task Date: Thu, 21 Jun 2012 17:28:47 -0000 From: Paul Eggleton X-Patchwork-Id: 30409 Message-Id: <1340299727-8480-2-git-send-email-paul.eggleton@linux.intel.com> To: bitbake-devel@lists.openembedded.org 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 done. Signed-off-by: Paul Eggleton --- lib/bb/siggen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py index 0fb2642..edd98fc 100644 --- a/lib/bb/siggen.py +++ b/lib/bb/siggen.py @@ -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)) bb.build.write_taint(task, d, fn) def dump_this_task(outfile, d):