diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-09 17:12:31 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-17 08:52:28 +0000 |
commit | 4754b1021ebdc8272b324bb8f2ffff03c8719233 (patch) | |
tree | 43684b927467b2f8a831baa0be175a54e94a2c63 /bitbake/lib/bb/siggen.py | |
parent | 46fd76aa07bd431f0ba73bdafeb7bf5aa31cef25 (diff) | |
download | poky-4754b1021ebdc8272b324bb8f2ffff03c8719233.tar.gz |
bitbake: siggen: Directly store datacaches reference
It is becomming clear the siggen needs access to our cache data but we
can't always obtain it in the contexts we need to. Add it directly,
meaning over time we should be able to simplify the APIs and stop
convoluting new ones!
(Bitbake rev: 6b213590ed0e77683cf7fbce6bbe9605ddecf3d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r-- | bitbake/lib/bb/siggen.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index cdf7d03a34..e57f1ffe69 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py | |||
@@ -70,6 +70,9 @@ class SignatureGenerator(object): | |||
70 | def postparsing_clean_cache(self): | 70 | def postparsing_clean_cache(self): |
71 | return | 71 | return |
72 | 72 | ||
73 | def setup_datacache(self, datacaches): | ||
74 | self.datacaches = datacaches | ||
75 | |||
73 | def get_unihash(self, tid): | 76 | def get_unihash(self, tid): |
74 | return self.taskhash[tid] | 77 | return self.taskhash[tid] |
75 | 78 | ||