diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 37e1ac06bf..4f988dfdc9 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1072,7 +1072,6 @@ class RunQueueExecute: | |||
1072 | bb.mkdirhier(p) | 1072 | bb.mkdirhier(p) |
1073 | bb.msg.debug(2, bb.msg.domain.RunQueue, "Running %s:%s under fakeroot, state dir is %s" % (fn, taskname, fakedirs)) | 1073 | bb.msg.debug(2, bb.msg.domain.RunQueue, "Running %s:%s under fakeroot, state dir is %s" % (fn, taskname, fakedirs)) |
1074 | 1074 | ||
1075 | env['BB_TASKHASH'] = self.rqdata.runq_hash[task] | ||
1076 | env['PATH'] = self.cooker.configuration.initial_path | 1075 | env['PATH'] = self.cooker.configuration.initial_path |
1077 | 1076 | ||
1078 | envbackup = os.environ.copy() | 1077 | envbackup = os.environ.copy() |
@@ -1123,6 +1122,8 @@ class RunQueueExecute: | |||
1123 | for h in self.rqdata.hashdata["deps"]: | 1122 | for h in self.rqdata.hashdata["deps"]: |
1124 | bb.data.setVar("BBHASHDEPS_%s" % h, self.rqdata.hashdata["deps"][h], the_data) | 1123 | bb.data.setVar("BBHASHDEPS_%s" % h, self.rqdata.hashdata["deps"][h], the_data) |
1125 | 1124 | ||
1125 | bb.data.setVar("BB_TASKHASH", self.rqdata.runq_hash[task], the_data) | ||
1126 | |||
1126 | ret = 0 | 1127 | ret = 0 |
1127 | try: | 1128 | try: |
1128 | if not self.cooker.configuration.dry_run: | 1129 | if not self.cooker.configuration.dry_run: |