[bitbake-devel] [PATCH 2/3] runqueue: Add missing setscene task corner case

Richard Purdie richard.purdie at linuxfoundation.org
Wed Aug 14 15:02:49 UTC 2019


We weren't marking this special case of setscene task as buildable leading to
runqueue task failures.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/runqueue.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index ff19564a8c..9f4337610b 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -2294,6 +2294,8 @@ class RunQueueExecute:
             if self.sqdata.sq_revdeps[tid].issubset(self.scenequeue_covered | self.scenequeue_notcovered):
                 if tid not in self.sq_buildable:
                     self.sq_buildable.add(tid)
+            if len(self.sqdata.sq_revdeps[tid]) == 0:
+                self.sq_buildable.add(tid)
 
             if tid in self.sqdata.outrightfail:
                 self.sqdata.outrightfail.remove(tid)
-- 
2.20.1



More information about the bitbake-devel mailing list