From: Richard Purdie Date: Tue, 23 Jul 2019 20:58:24 +0000 (+0100) Subject: sstatesig: Adpat to recent bitbake hash equiv runqueue changes X-Git-Tag: uninative-2.7~581 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=034d91c2c94b201797a7830b0af6141132f9bad1;p=openembedded-core.git sstatesig: Adpat to recent bitbake hash equiv runqueue changes 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 --- diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index eff5adfc60..f1a5af69c5 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py @@ -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