summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-05 14:04:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-08 16:01:33 +0000
commit9f6a310002ad557a27b442322e91bc25bf096cb3 (patch)
tree0226c0d4a574d1cdb82fe236c74c41c41568e8b4 /bitbake
parent4d4f1ee5f601b79c3776fcddae7dd63d5ab157d3 (diff)
downloadpoky-9f6a310002ad557a27b442322e91bc25bf096cb3.tar.gz
bitbake: siggen: Avoid cache mismatch issues with locked sigs
If locked sigs are in use this function makes little sense, need to avoid generating mismatch warnings. (Bitbake rev: 27ad9c1d468fba858a4adeb56b605227b415ae0f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/siggen.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 96807c46cd..ffd8fcaf36 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -515,6 +515,10 @@ class SignatureGeneratorUniHashMixIn(object):
515 if self.setscenetasks and tid not in self.setscenetasks: 515 if self.setscenetasks and tid not in self.setscenetasks:
516 return 516 return
517 517
518 # This can happen if locked sigs are in action. Detect and just abort
519 if taskhash != self.taskhash[tid]:
520 return
521
518 # Sanity checks 522 # Sanity checks
519 cache_unihash = self._get_unihash(tid, checkkey=taskhash) 523 cache_unihash = self._get_unihash(tid, checkkey=taskhash)
520 if cache_unihash is None: 524 if cache_unihash is None: