From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: [PATCH 2/2] lib/bb/siggen.py: log when tainting the signature of a task
Date: Thu, 21 Jun 2012 18:28:47 +0100 [thread overview]
Message-ID: <1340299727-8480-2-git-send-email-paul.eggleton@linux.intel.com> (raw)
In-Reply-To: <1340299727-8480-1-git-send-email-paul.eggleton@linux.intel.com>
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 <paul.eggleton@linux.intel.com>
---
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):
--
1.7.9.5
prev parent reply other threads:[~2012-06-21 17:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-21 17:28 [PATCH 1/2] bitbake: tweak help text for -C slightly Paul Eggleton
2012-06-21 17:28 ` Paul Eggleton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1340299727-8480-2-git-send-email-paul.eggleton@linux.intel.com \
--to=paul.eggleton@linux.intel.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.