diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 19:49:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 20:36:27 +0100 |
commit | 4d15aaabf36c22feddea579150236396ae01b131 (patch) | |
tree | 90788ce50830773c1c408165817606368e56ef96 | |
parent | e92c694a5344e325a533b7a32e3a3aece4735c23 (diff) | |
download | bitbake-4d15aaabf36c22feddea579150236396ae01b131.tar.gz |
runqueue.py: Export further hash information into the task environment
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/runqueue.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index de7e73ca4..2494cb2e9 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -1111,6 +1111,11 @@ class RunQueueExecute: try: the_data = bb.cache.Cache.loadDataFull(fn, self.cooker.get_file_appends(fn), self.cooker.configuration.data) the_data.setVar('BB_TASKHASH', self.rqdata.runq_hash[task]) + for h in self.rqdata.hashes: + the_data.setVar("BBHASH_%s" % h, self.rqdata.hashes[h]) + for h in self.rqdata.hash_deps: + the_data.setVar("BBHASHDEPS_%s" % h, self.rqdata.hash_deps[h]) + os.environ.update(bb.data.exported_vars(the_data)) except Exception as exc: if not quieterrors: |