summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/sstatesig.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 35d48f328d..eff5adfc60 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -272,7 +272,11 @@ class SignatureGeneratorOEEquivHash(bb.siggen.SignatureGeneratorUniHashMixIn, Si
272 def init_rundepcheck(self, data): 272 def init_rundepcheck(self, data):
273 super().init_rundepcheck(data) 273 super().init_rundepcheck(data)
274 self.server = data.getVar('SSTATE_HASHEQUIV_SERVER') 274 self.server = data.getVar('SSTATE_HASHEQUIV_SERVER')
275 if not self.server:
276 bb.fatal("OEEquivHash requires SSTATE_HASHEQUIV_SERVER to be set")
275 self.method = data.getVar('SSTATE_HASHEQUIV_METHOD') 277 self.method = data.getVar('SSTATE_HASHEQUIV_METHOD')
278 if not self.method:
279 bb.fatal("OEEquivHash requires SSTATE_HASHEQUIV_METHOD to be set")
276 self.unihashes = bb.persist_data.persist('SSTATESIG_UNIHASH_CACHE_v1_' + self.method.replace('.', '_'), data) 280 self.unihashes = bb.persist_data.persist('SSTATESIG_UNIHASH_CACHE_v1_' + self.method.replace('.', '_'), data)
277 281
278 282