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 17:28:23 +0100 |
commit | 99db00b8364930c154fe2e5d1aa3e6c22f8d566d (patch) | |
tree | a5ffa0b5d2ccb2722e8aafec347f42a73a30e4ce /bitbake | |
parent | 5f5bc81b3eb740374cef6e9bb4125e038b5add17 (diff) | |
download | poky-99db00b8364930c154fe2e5d1aa3e6c22f8d566d.tar.gz |
bitbake: 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.
(Bitbake rev: fdee640c26750b852eb68f5c80437377aa300ed8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 29786c400b..9acad7af8e 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1920,6 +1920,10 @@ class RunQueueExecute: | |||
1920 | if nexttask in self.sq_deferred: | 1920 | if nexttask in self.sq_deferred: |
1921 | del self.sq_deferred[nexttask] | 1921 | del self.sq_deferred[nexttask] |
1922 | return True | 1922 | return True |
1923 | # If covered tasks are running, need to wait for them to complete | ||
1924 | for t in self.sqdata.sq_covered_tasks[nexttask]: | ||
1925 | if t in self.runq_running and t not in self.runq_complete: | ||
1926 | continue | ||
1923 | if nexttask in self.sq_deferred: | 1927 | if nexttask in self.sq_deferred: |
1924 | if self.sq_deferred[nexttask] not in self.runq_complete: | 1928 | if self.sq_deferred[nexttask] not in self.runq_complete: |
1925 | continue | 1929 | continue |