]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstatesig: Adpat to recent bitbake hash equiv runqueue changes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Jul 2019 20:58:24 +0000 (21:58 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Aug 2019 10:23:36 +0000 (11:23 +0100)
Upstream bitbake now hanes preserving the unihash data itself, drop
this usage of persist_data which was extremely problematic due to
concurrent task access issues, particulary on loaded systems.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py

index eff5adfc6023956570c3ccd0d73df4dcc0896a64..f1a5af69c5e547743bd4355687ec65696d0c6c0e 100644 (file)
@@ -277,8 +277,6 @@ class SignatureGeneratorOEEquivHash(bb.siggen.SignatureGeneratorUniHashMixIn, Si
         self.method = data.getVar('SSTATE_HASHEQUIV_METHOD')
         if not self.method:
             bb.fatal("OEEquivHash requires SSTATE_HASHEQUIV_METHOD to be set")
-        self.unihashes = bb.persist_data.persist('SSTATESIG_UNIHASH_CACHE_v1_' + self.method.replace('.', '_'), data)
-
 
 # Insert these classes into siggen's namespace so it can see and select them
 bb.siggen.SignatureGeneratorOEBasic = SignatureGeneratorOEBasic