mirror of
git://git.yoctoproject.org/poky
synced 2026-08-13 23:32:48 +00:00
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>
This commit is contained in:
parent
4d4f1ee5f6
commit
9f6a310002
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user