summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/siggen.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-25 22:23:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commit2abf8a699edd513405befbd1a0eafc8f55d6b514 (patch)
tree9815707d7cc45e6de4fda8be6ed0e58b0a92ed84 /bitbake/lib/bb/siggen.py
parentf735627e7c5aeb421338db55f3905d74751d4b71 (diff)
downloadpoky-2abf8a699edd513405befbd1a0eafc8f55d6b514.tar.gz
bitbake: bitbake: Switch to using new override syntax
This change updates the datastore to use the new override syntax using colons instead of underscores exclusively. It is expected layers would have to be converted to work with bitbake after this change. Supporting mixed syntax isn't possible, it is only feasible to have one internal representation of overrides. Whilst we can't warn for every possible override that may be set in the old format, show errors for _append/_prepend/_remove since those should never be present. (Bitbake rev: 7dcf317cc141dc980634f8c18bfa84f83e57206a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r--bitbake/lib/bb/siggen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 07692e673c..3f9fe50642 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -228,7 +228,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
228 # self.dump_sigtask(fn, task, d.getVar("STAMP"), False) 228 # self.dump_sigtask(fn, task, d.getVar("STAMP"), False)
229 229
230 for task in taskdeps: 230 for task in taskdeps:
231 d.setVar("BB_BASEHASH_task-%s" % task, self.basehash[fn + ":" + task]) 231 d.setVar("BB_BASEHASH:task-%s" % task, self.basehash[fn + ":" + task])
232 232
233 def postparsing_clean_cache(self): 233 def postparsing_clean_cache(self):
234 # 234 #
@@ -325,7 +325,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
325 325
326 h = hashlib.sha256(data.encode("utf-8")).hexdigest() 326 h = hashlib.sha256(data.encode("utf-8")).hexdigest()
327 self.taskhash[tid] = h 327 self.taskhash[tid] = h
328 #d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task]) 328 #d.setVar("BB_TASKHASH:task-%s" % task, taskhash[task])
329 return h 329 return h
330 330
331 def writeout_file_checksum_cache(self): 331 def writeout_file_checksum_cache(self):