summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/siggen.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-27 15:57:13 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-28 15:34:27 +0100
commitec4d6b989aad5f4564e367c99c62c59f962b57ea (patch)
treebd1a4783352a90629a4c07950391cafb986f5373 /bitbake/lib/bb/siggen.py
parent15ceaaaaf777175df8fa49f08e37b23052ca2290 (diff)
downloadopenembedded-core-ec4d6b989aad5f4564e367c99c62c59f962b57ea.tar.gz
openembedded-core-ec4d6b989aad5f4564e367c99c62c59f962b57ea.tar.bz2
openembedded-core-ec4d6b989aad5f4564e367c99c62c59f962b57ea.zip
bitbake: Pass task hash information to subprocesses
Pass task has informaiton to work processes, allowing full manipulation of the hash data in the task context allowing checksums to be usable. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r--bitbake/lib/bb/siggen.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index ef14471b66..eb624311a0 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -107,6 +107,10 @@ class SignatureGeneratorBasic(SignatureGenerator):
#d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task])
return h
+ def set_taskdata(self, hashes, deps):
+ self.runtaskdeps = deps
+ self.taskhash = hashes
+
def dump_sigtask(self, fn, task, stampbase, runtime):
k = fn + "." + task
if runtime == "customfile":
@@ -128,7 +132,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
data['gendeps'][dep] = self.gendeps[fn][dep]
data['varvals'][dep] = self.lookupcache[fn][dep]
- if runtime and runtime != "customfile":
+ if runtime:
data['runtaskdeps'] = self.runtaskdeps[k]
data['runtaskhashes'] = {}
for dep in data['runtaskdeps']: