[oe-commits] [bitbake] 07/07: siggen: Avoid cache mismatch issues with locked sigs
git at git.openembedded.org
git at git.openembedded.org
Tue Feb 11 23:06:20 UTC 2020
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch 1.44
in repository bitbake.
commit 95687be83e716220eb3893b67428f97fd59fc2c5
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sun Jan 5 14:04:59 2020 +0000
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.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
(cherry picked from commit 27ad9c1d468fba858a4adeb56b605227b415ae0f)
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
lib/bb/siggen.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index 96807c4..ffd8fca 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -515,6 +515,10 @@ class SignatureGeneratorUniHashMixIn(object):
if self.setscenetasks and tid not in self.setscenetasks:
return
+ # This can happen if locked sigs are in action. Detect and just abort
+ if taskhash != self.taskhash[tid]:
+ return
+
# Sanity checks
cache_unihash = self._get_unihash(tid, checkkey=taskhash)
if cache_unihash is None:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list