siggen: Print warning about tainted tasks
PATCH 1/1 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.
Signed-off-by Richard Purdie <[email protected]>
bitbake/lib/bb/siggen.py +1 -0
@@ -190,6 +190,7 @@ class SignatureGeneratorBasic(SignatureGenerator): taint = self.read_taint(fn, task, dataCache.stamp[fn]) if taint: data = data + taint + logger.warn("%s is tainted from a forced run" % k) h = hashlib.md5(data).hexdigest() self.taskhash[k] = h