mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 09:32:14 +02:00
sstatesig: Remove workaround for bitbake taskhash bug
When trying to lock an individual signature, we see the checksum calculations of dependent tasks failing. The fix is to remove a bad optimisation within bitbake but with the removed, we need to remove some bogus code with OE-Core's sstatesig code too. (From OE-Core rev: 9923392539b1ce6d70f713527373d6bbc03f3021) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -162,12 +162,7 @@ class SignatureGeneratorOEBasicHashMixIn(object):
|
||||
else:
|
||||
return super().get_taskhash(tid, deps, dataCaches)
|
||||
|
||||
# get_taskhash will call get_unihash internally in the parent class, we
|
||||
# need to disable our filter of it whilst this runs else
|
||||
# incorrect hashes can be calculated.
|
||||
self._internal = True
|
||||
h = super().get_taskhash(tid, deps, dataCaches)
|
||||
self._internal = False
|
||||
|
||||
(mc, _, task, fn) = bb.runqueue.split_tid_mcfn(tid)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user