diff options
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 78e576eb2c..6c41fe6d43 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -2294,10 +2294,16 @@ class RunQueueExecute: | |||
2294 | self.updated_taskhash_queue.remove((tid, unihash)) | 2294 | self.updated_taskhash_queue.remove((tid, unihash)) |
2295 | 2295 | ||
2296 | if unihash != self.rqdata.runtaskentries[tid].unihash: | 2296 | if unihash != self.rqdata.runtaskentries[tid].unihash: |
2297 | hashequiv_logger.verbose("Task %s unihash changed to %s" % (tid, unihash)) | 2297 | # Make sure we rehash any other tasks with the same task hash that we're deferred against. |
2298 | self.rqdata.runtaskentries[tid].unihash = unihash | 2298 | torehash = [tid] |
2299 | bb.parse.siggen.set_unihash(tid, unihash) | 2299 | for deftid in self.sq_deferred: |
2300 | toprocess.add(tid) | 2300 | if self.sq_deferred[deftid] == tid: |
2301 | torehash.append(deftid) | ||
2302 | for hashtid in torehash: | ||
2303 | hashequiv_logger.verbose("Task %s unihash changed to %s" % (hashtid, unihash)) | ||
2304 | self.rqdata.runtaskentries[hashtid].unihash = unihash | ||
2305 | bb.parse.siggen.set_unihash(hashtid, unihash) | ||
2306 | toprocess.add(hashtid) | ||
2301 | 2307 | ||
2302 | # Work out all tasks which depend upon these | 2308 | # Work out all tasks which depend upon these |
2303 | total = set() | 2309 | total = set() |