Skip to contentSkip to conversation

sstatesig: Remove workaround for bitbake taskhash bug

PATCH New Richard Purdie 1 participant 1 message Nov 2, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/lib/oe/sstatesig.py | 5 -----
 1 file changed, 5 deletions(-)
meta/lib/oe/sstatesig.py +0 -5
index 64fb84ec924..4ea29cbdfc3 100644
@@ -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)
 
Signature · 1 line
2.25.1