summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-31 00:23:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-01 14:29:32 +0100
commit60c40e5db57da094ab5ecfadf8e07dc6251bec66 (patch)
tree5d603425685ad37b7947b0359e4b7b8bad5e7de2 /bitbake
parent8a43a6a32bafc654046250f5362509fd92dd4d10 (diff)
downloadpoky-60c40e5db57da094ab5ecfadf8e07dc6251bec66.tar.gz
bitbake: siggen: Print warning about tainted tasks
The big warning printed when people use -f is easily ignored/forgotten. To raise user awareness, print a warning any time we include a tainted stamp file into a build instead. (Bitbake rev: 18f9bcbad059608e22fca20309314e1c399acec7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/siggen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index a6d28597ed..933311cccb 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -190,6 +190,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
190 taint = self.read_taint(fn, task, dataCache.stamp[fn]) 190 taint = self.read_taint(fn, task, dataCache.stamp[fn])
191 if taint: 191 if taint:
192 data = data + taint 192 data = data + taint
193 logger.warn("%s is tainted from a forced run" % k)
193 194
194 h = hashlib.md5(data).hexdigest() 195 h = hashlib.md5(data).hexdigest()
195 self.taskhash[k] = h 196 self.taskhash[k] = h