summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-11 16:37:24 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-17 08:52:28 +0000
commit878de40a501089048cffdc867b2ae1ad8a2ec9e5 (patch)
treeed48deb9e5f2d056d0b0c6df8d0109e0bbd40a97 /bitbake/bin
parent2946c56b233370ac4b151558079f2fc676157bad (diff)
downloadpoky-878de40a501089048cffdc867b2ae1ad8a2ec9e5.tar.gz
bitbake: 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. (Bitbake rev: c6d325fc9b53e9d588ab273ee3c2a99a70fba42c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake-worker1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker
index 3cacdb0cec..ed266f0ac2 100755
--- a/bitbake/bin/bitbake-worker
+++ b/bitbake/bin/bitbake-worker
@@ -266,6 +266,7 @@ def fork_off_task(cfg, data, databuilder, workerdata, extraconfigdata, runtask):
266 the_data = databuilder.parseRecipe(fn, appends) 266 the_data = databuilder.parseRecipe(fn, appends)
267 the_data.setVar('BB_TASKHASH', taskhash) 267 the_data.setVar('BB_TASKHASH', taskhash)
268 the_data.setVar('BB_UNIHASH', unihash) 268 the_data.setVar('BB_UNIHASH', unihash)
269 bb.parse.siggen.setup_datacache_from_datastore(fn, the_data)
269 270
270 bb.utils.set_process_name("%s:%s" % (the_data.getVar("PN"), taskname.replace("do_", ""))) 271 bb.utils.set_process_name("%s:%s" % (the_data.getVar("PN"), taskname.replace("do_", "")))
271 272