From 3afc48c38f3e5e0b6ff53dead13ee4bbcf4105bc Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 16 Aug 2019 15:41:32 +0100 Subject: 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 --- bitbake/lib/bb/runqueue.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake') diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 7fa074f679..88212ca00c 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -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) -- cgit v1.2.3-54-g00ecf