summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-09 16:05:24 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-11 23:20:14 +0000
commitd6eadc937ad2d50cd91bf7eec28f970c1afd9937 (patch)
tree96be091b840ca6f0e8139939885e3904b14bee1c /meta/lib/oe
parent6257744d790dfe128ba1cb19b3b5676dc2dc0128 (diff)
downloadpoky-d6eadc937ad2d50cd91bf7eec28f970c1afd9937.tar.gz
lib/sstatesig: Drop OEBasic siggen
We're now used to using hashes as part of the task hashes and the sstate code relies on this. The older OEBasic hash approach therefore wouldn't work and can be removed. (From OE-Core rev: 3667e589ba16eb261cfd72c2b11429f482c239f6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/sstatesig.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index bf48aed7e1..f0224454c9 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -101,15 +101,6 @@ def sstate_lockedsigs(d):
101 sigs[pn][task] = [h, siggen_lockedsigs_var] 101 sigs[pn][task] = [h, siggen_lockedsigs_var]
102 return sigs 102 return sigs
103 103
104class SignatureGeneratorOEBasic(bb.siggen.SignatureGeneratorBasic):
105 name = "OEBasic"
106 def init_rundepcheck(self, data):
107 self.abisaferecipes = (data.getVar("SIGGEN_EXCLUDERECIPES_ABISAFE") or "").split()
108 self.saferecipedeps = (data.getVar("SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS") or "").split()
109 pass
110 def rundep_check(self, fn, recipename, task, dep, depname, dataCaches = None):
111 return sstate_rundepfilter(self, fn, recipename, task, dep, depname, dataCaches)
112
113class SignatureGeneratorOEBasicHashMixIn(object): 104class SignatureGeneratorOEBasicHashMixIn(object):
114 supports_multiconfig_datacaches = True 105 supports_multiconfig_datacaches = True
115 106
@@ -326,7 +317,6 @@ class SignatureGeneratorOEEquivHash(SignatureGeneratorOEBasicHashMixIn, bb.sigge
326 bb.fatal("OEEquivHash requires SSTATE_HASHEQUIV_METHOD to be set") 317 bb.fatal("OEEquivHash requires SSTATE_HASHEQUIV_METHOD to be set")
327 318
328# Insert these classes into siggen's namespace so it can see and select them 319# Insert these classes into siggen's namespace so it can see and select them
329bb.siggen.SignatureGeneratorOEBasic = SignatureGeneratorOEBasic
330bb.siggen.SignatureGeneratorOEBasicHash = SignatureGeneratorOEBasicHash 320bb.siggen.SignatureGeneratorOEBasicHash = SignatureGeneratorOEBasicHash
331bb.siggen.SignatureGeneratorOEEquivHash = SignatureGeneratorOEEquivHash 321bb.siggen.SignatureGeneratorOEEquivHash = SignatureGeneratorOEEquivHash
332 322