diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-05 10:34:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-11 17:31:17 +0100 |
commit | bb54fd05708b86f4c78fe57852554a5b738858ea (patch) | |
tree | 1e121021cbaa8ee6ee721bb527dcc4d6e244e8b9 /bitbake/bin | |
parent | 9ebf982d4a4959e3ab4b4f949c24a74738bcc637 (diff) | |
download | poky-bb54fd05708b86f4c78fe57852554a5b738858ea.tar.gz |
bitbake: siggen/runqueue/bitbake-worker: Improve siggen data transfer interface
We need to transfer some of the siggen data from the core/cooker into
the worker instances. There was a partial API created for this but
its ugly and its not possible to extend it from the siggen class.
This patch completes the interface/abstraction for the data and
means the class can extend/customise it in any siggen class.
(Bitbake rev: cf2d642052979d236185c5b8ca2c5478c06e62ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake-worker | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker index c7992f7e82..b2935f6ec0 100755 --- a/bitbake/bin/bitbake-worker +++ b/bitbake/bin/bitbake-worker | |||
@@ -168,7 +168,7 @@ def fork_off_task(cfg, data, workerdata, fn, task, taskname, appends, taskdepdat | |||
168 | data.setVar("BUILDNAME", workerdata["buildname"]) | 168 | data.setVar("BUILDNAME", workerdata["buildname"]) |
169 | data.setVar("DATE", workerdata["date"]) | 169 | data.setVar("DATE", workerdata["date"]) |
170 | data.setVar("TIME", workerdata["time"]) | 170 | data.setVar("TIME", workerdata["time"]) |
171 | bb.parse.siggen.set_taskdata(workerdata["hashes"], workerdata["hash_deps"], workerdata["sigchecksums"]) | 171 | bb.parse.siggen.set_taskdata(workerdata["sigdata"]) |
172 | ret = 0 | 172 | ret = 0 |
173 | try: | 173 | try: |
174 | the_data = bb.cache.Cache.loadDataFull(fn, appends, data) | 174 | the_data = bb.cache.Cache.loadDataFull(fn, appends, data) |