diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-13 16:00:06 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-14 14:40:24 +0100 |
commit | fdee640c26750b852eb68f5c80437377aa300ed8 (patch) | |
tree | d8f5931c7123c8f0c59381ef1e6d0270e6ae05f8 /lib/bb/runqueue.py | |
parent | 05888700e5f6cba48a26c8a4c447634a28e3baa6 (diff) | |
download | bitbake-fdee640c26750b852eb68f5c80437377aa300ed8.tar.gz |
runqueue: Wait for covered tasks to complete before trying setscene
If tasks are in the covered list of tasks for a given setscene task,
it needs to wait for those to complete before we can start.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/runqueue.py')
-rw-r--r-- | lib/bb/runqueue.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 29786c400..9acad7af8 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -1920,6 +1920,10 @@ class RunQueueExecute: if nexttask in self.sq_deferred: del self.sq_deferred[nexttask] return True + # If covered tasks are running, need to wait for them to complete + for t in self.sqdata.sq_covered_tasks[nexttask]: + if t in self.runq_running and t not in self.runq_complete: + continue if nexttask in self.sq_deferred: if self.sq_deferred[nexttask] not in self.runq_complete: continue |