diff options
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index cc36b84781..7451e5c56b 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1245,9 +1245,8 @@ class RunQueueData: | |||
1245 | return len(self.runtaskentries) | 1245 | return len(self.runtaskentries) |
1246 | 1246 | ||
1247 | def prepare_task_hash(self, tid): | 1247 | def prepare_task_hash(self, tid): |
1248 | dc = bb.parse.siggen.get_data_caches(self.dataCaches, mc_from_tid(tid)) | 1248 | bb.parse.siggen.prep_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches) |
1249 | bb.parse.siggen.prep_taskhash(tid, self.runtaskentries[tid].depends, dc) | 1249 | self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches) |
1250 | self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(tid, self.runtaskentries[tid].depends, dc) | ||
1251 | self.runtaskentries[tid].unihash = bb.parse.siggen.get_unihash(tid) | 1250 | self.runtaskentries[tid].unihash = bb.parse.siggen.get_unihash(tid) |
1252 | 1251 | ||
1253 | def dump_data(self): | 1252 | def dump_data(self): |
@@ -2434,8 +2433,7 @@ class RunQueueExecute: | |||
2434 | if self.rqdata.runtaskentries[p].depends and not self.rqdata.runtaskentries[tid].depends.isdisjoint(total): | 2433 | if self.rqdata.runtaskentries[p].depends and not self.rqdata.runtaskentries[tid].depends.isdisjoint(total): |
2435 | continue | 2434 | continue |
2436 | orighash = self.rqdata.runtaskentries[tid].hash | 2435 | orighash = self.rqdata.runtaskentries[tid].hash |
2437 | dc = bb.parse.siggen.get_data_caches(self.rqdata.dataCaches, mc_from_tid(tid)) | 2436 | newhash = bb.parse.siggen.get_taskhash(tid, self.rqdata.runtaskentries[tid].depends, self.rqdata.dataCaches) |
2438 | newhash = bb.parse.siggen.get_taskhash(tid, self.rqdata.runtaskentries[tid].depends, dc) | ||
2439 | origuni = self.rqdata.runtaskentries[tid].unihash | 2437 | origuni = self.rqdata.runtaskentries[tid].unihash |
2440 | newuni = bb.parse.siggen.get_unihash(tid) | 2438 | newuni = bb.parse.siggen.get_unihash(tid) |
2441 | # FIXME, need to check it can come from sstate at all for determinism? | 2439 | # FIXME, need to check it can come from sstate at all for determinism? |