diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/sstatesig.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 1b4380f21b..aa891ecf0a 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -205,10 +205,10 @@ class SignatureGeneratorOEBasicHashMixIn(object): | |||
205 | return self.lockedhashes[tid] | 205 | return self.lockedhashes[tid] |
206 | return super().get_stampfile_hash(tid) | 206 | return super().get_stampfile_hash(tid) |
207 | 207 | ||
208 | def get_unihash(self, tid): | 208 | def get_cached_unihash(self, tid): |
209 | if tid in self.lockedhashes and self.lockedhashes[tid] and not self._internal: | 209 | if tid in self.lockedhashes and self.lockedhashes[tid] and not self._internal: |
210 | return self.lockedhashes[tid] | 210 | return self.lockedhashes[tid] |
211 | return super().get_unihash(tid) | 211 | return super().get_cached_unihash(tid) |
212 | 212 | ||
213 | def dump_sigtask(self, fn, task, stampbase, runtime): | 213 | def dump_sigtask(self, fn, task, stampbase, runtime): |
214 | tid = fn + ":" + task | 214 | tid = fn + ":" + task |
@@ -326,6 +326,7 @@ class SignatureGeneratorOEEquivHash(SignatureGeneratorOEBasicHashMixIn, bb.sigge | |||
326 | self.method = data.getVar('SSTATE_HASHEQUIV_METHOD') | 326 | self.method = data.getVar('SSTATE_HASHEQUIV_METHOD') |
327 | if not self.method: | 327 | if not self.method: |
328 | bb.fatal("OEEquivHash requires SSTATE_HASHEQUIV_METHOD to be set") | 328 | bb.fatal("OEEquivHash requires SSTATE_HASHEQUIV_METHOD to be set") |
329 | self.max_parallel = int(data.getVar('BB_HASHSERVE_MAX_PARALLEL') or 1) | ||
329 | 330 | ||
330 | # Insert these classes into siggen's namespace so it can see and select them | 331 | # Insert these classes into siggen's namespace so it can see and select them |
331 | bb.siggen.SignatureGeneratorOEBasicHash = SignatureGeneratorOEBasicHash | 332 | bb.siggen.SignatureGeneratorOEBasicHash = SignatureGeneratorOEBasicHash |