diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-11 16:37:24 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-16 15:48:12 +0000 |
commit | c6d325fc9b53e9d588ab273ee3c2a99a70fba42c (patch) | |
tree | 78fd901bdffdcdcde13a954961b46c27b3da1e28 /bin | |
parent | 1252e5bce51ae912ecff9dcc354a371786ff2c72 (diff) | |
download | bitbake-contrib-c6d325fc9b53e9d588ab273ee3c2a99a70fba42c.tar.gz |
siggen: Add dummy dataCaches from task context/datastore
One of the challenges in maintaining the code is that it sometimes uses
a datacaches structure and sometimes a datastore. Rather than continue
the current dual API madness, have the worker contexts create a dummy
datacaches structure with the entries we need. Whilst this does need to
be kept in sync with the real structure, that doesn't change and this
allows the code to be simplified.
With this new approach, we can unify the stamps dependency code again.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bitbake-worker | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bitbake-worker b/bin/bitbake-worker index 3cacdb0ce..ed266f0ac 100755 --- a/bin/bitbake-worker +++ b/bin/bitbake-worker @@ -266,6 +266,7 @@ def fork_off_task(cfg, data, databuilder, workerdata, extraconfigdata, runtask): the_data = databuilder.parseRecipe(fn, appends) the_data.setVar('BB_TASKHASH', taskhash) the_data.setVar('BB_UNIHASH', unihash) + bb.parse.siggen.setup_datacache_from_datastore(fn, the_data) bb.utils.set_process_name("%s:%s" % (the_data.getVar("PN"), taskname.replace("do_", ""))) |