diff mbox series

[1/2] runqueue: Fix runall option for setscene tasks

Message ID 20231108220447.1557586-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 8c6cd1e8dd224bc1cc92736cbb7e113fd1fb5aae
Headers show
Series [1/2] runqueue: Fix runall option for setscene tasks | expand

Commit Message

Richard Purdie Nov. 8, 2023, 10:04 p.m. UTC
If --runall is used with setscene tasks, it will still skip them if it
can. By marking the tasks as targets, this avoids that skipping
and means --runall deploy_source_date_epoch works as expected for
example.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/runqueue.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 1029eec07a..074edd0763 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1021,6 +1021,7 @@  class RunQueueData:
 
                 for tid in list(runall_tids):
                     mark_active(tid, 1)
+                    self.target_tids.append(tid)
                     if self.cooker.configuration.force:
                         invalidate_task(tid, False)