[bitbake-devel] [PATCH 2/2] runqueue: Ensure target_tids is filtered

Richard Purdie richard.purdie at linuxfoundation.org
Fri Aug 16 09:04:18 UTC 2019


bitbake <target> --runonly=fetch

failed as the target_tids list included entries which were no longer targeted
task ids. Fix this.

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 4e64ddfdad..7fa074f679 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1736,6 +1736,7 @@ class RunQueueExecute:
         # We can't skip specified target tasks which aren't setscene tasks
         self.cantskip = set(self.rqdata.target_tids)
         self.cantskip.difference_update(self.rqdata.runq_setscene_tids)
+        self.cantskip.intersection_update(self.rqdata.runtaskentries)
 
         schedulers = self.get_schedulers()
         for scheduler in schedulers:
-- 
2.20.1



More information about the bitbake-devel mailing list