summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/siggen.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-01 22:19:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-08 10:49:53 +0000
commit8fe5f307e2921e3ecf46e2b45f89fd1982680315 (patch)
treef2447d528e4058fa71c4fe2fe18c6f8d8a243735 /bitbake/lib/bb/siggen.py
parentc14d8b9b6bd3a6fa4bae93c65425aaa936336546 (diff)
downloadpoky-8fe5f307e2921e3ecf46e2b45f89fd1982680315.tar.gz
bitbake: siggen/cache: Optionally allow adding siggen hash data to the bitbake cache
Being able to track siggen hash construction data can be useful for cache debugging. For now, add an extra cache class which contains this information. It can be enabled in the same way as the hob data cache through a feature flag to cooker. This allows us to experiment with the data without carrying larger patches around and ultimately may allow use to have a hash mismatch debugging mode that is more easily enabled. (Bitbake rev: 0736a8a03da8b774fafbd28f746bef4705378049) 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, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 34b71d596a..3731cd6b69 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -252,6 +252,10 @@ class SignatureGeneratorBasic(SignatureGenerator):
252 basehashes[task] = self.basehash[fn + ":" + task] 252 basehashes[task] = self.basehash[fn + ":" + task]
253 253
254 d.setVar("__siggen_basehashes", basehashes) 254 d.setVar("__siggen_basehashes", basehashes)
255 d.setVar("__siggen_gendeps", self.gendeps[fn])
256 d.setVar("__siggen_varvals", self.lookupcache[fn])
257 d.setVar("__siggen_taskdeps", self.taskdeps[fn])
258
255 259
256 def postparsing_clean_cache(self): 260 def postparsing_clean_cache(self):
257 # 261 #