[oe-commits] [bitbake] 05/08: runqueue: Small but critical fix
git at git.openembedded.org
git at git.openembedded.org
Fri Aug 16 16:17:23 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 94a77b3c8f5702e054ea5a5de46baf3958888a6f
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Aug 16 15:41:32 2019 +0100
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.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/runqueue.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 7fa074f..88212ca 100644
--- a/lib/bb/runqueue.py
+++ b/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)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list