diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-23 21:58:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-06 11:24:26 +0100 |
commit | 56b178ca2ff890ba0ab2490d53d8458976bdadb8 (patch) | |
tree | 8ef2a3a6ee820f24fb237c795bcfb27df954041f | |
parent | 00f40114b4fe5f47663f60c4f114af90d61c424c (diff) | |
download | poky-56b178ca2ff890ba0ab2490d53d8458976bdadb8.tar.gz |
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.
(From OE-Core rev: 034d91c2c94b201797a7830b0af6141132f9bad1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oe/sstatesig.py | 2 |
1 files changed, 0 insertions, 2 deletions
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 | |||
277 | self.method = data.getVar('SSTATE_HASHEQUIV_METHOD') | 277 | self.method = data.getVar('SSTATE_HASHEQUIV_METHOD') |
278 | if not self.method: | 278 | if not self.method: |
279 | bb.fatal("OEEquivHash requires SSTATE_HASHEQUIV_METHOD to be set") | 279 | bb.fatal("OEEquivHash requires SSTATE_HASHEQUIV_METHOD to be set") |
280 | self.unihashes = bb.persist_data.persist('SSTATESIG_UNIHASH_CACHE_v1_' + self.method.replace('.', '_'), data) | ||
281 | |||
282 | 280 | ||
283 | # Insert these classes into siggen's namespace so it can see and select them | 281 | # Insert these classes into siggen's namespace so it can see and select them |
284 | bb.siggen.SignatureGeneratorOEBasic = SignatureGeneratorOEBasic | 282 | bb.siggen.SignatureGeneratorOEBasic = SignatureGeneratorOEBasic |