diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-25 22:47:06 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-27 13:27:14 +0100 |
commit | 419a7840b8627278db694029c25df00214d01d96 (patch) | |
tree | d8fc25a124064da31e77729bbd7ce86ec72ccf92 /lib/bb/siggen.py | |
parent | 4205a3ef23834f317642bba155d67cd772176fb6 (diff) | |
download | bitbake-419a7840b8627278db694029c25df00214d01d96.tar.gz |
siggen/runqueue: Fix signature mismatch issues
We need to set the setscene tasklist before we call into the
taskhash/unihash code else the behaviour is inconsistent.
Avoid reporting hashes for non setscene tasks since we'd never
query that.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/siggen.py')
-rw-r--r-- | lib/bb/siggen.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py index 71fa01822..6207cbca3 100644 --- a/lib/bb/siggen.py +++ b/lib/bb/siggen.py @@ -455,7 +455,11 @@ class SignatureGeneratorUniHashMixIn(object): report_taskdata = d.getVar('SSTATE_HASHEQUIV_REPORT_TASKDATA') == '1' tempdir = d.getVar('T') fn = d.getVar('BB_FILENAME') - key = fn + ':do_' + task + ':' + taskhash + tid = fn + ':do_' + task + key = tid + ':' + taskhash + + if self.setscenetasks and tid not in self.setscenetasks: + return # Sanity checks cache_unihash = self.unitaskhashes.get(key, None) |