mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
bitbake: runqueue: Small but critical fix
We've observed do_package and do_package_setscene running in parallel. The reason is that holdoff_tasks wasn't getting updated. Looking at the code, it would seem the reason is that the task was in pending_migrations and hence changed wasn't set and holdoff_tasks wasn't updated. Fix this. It only affects builds with rehashing enabled. (Bitbake rev: e26e61e84575669bd223f6ab316798097ed95ec8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -2283,6 +2283,7 @@ class RunQueueExecute:
|
||||
continue
|
||||
|
||||
self.pending_migrations.remove(tid)
|
||||
changed = True
|
||||
|
||||
if tid in self.tasks_scenequeue_done:
|
||||
self.tasks_scenequeue_done.remove(tid)
|
||||
|
||||
Reference in New Issue
Block a user