diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-15 22:21:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-16 10:05:33 +0100 |
commit | 20946c63c272b2128e6dc76490313b174ee97d8e (patch) | |
tree | 6155833de38b5153d1e1413b5e11da47ea5edbf5 /bitbake/lib/bb | |
parent | 0b38a37e59eebd33d3b42359ed79c5f3e36e01b9 (diff) | |
download | poky-20946c63c272b2128e6dc76490313b174ee97d8e.tar.gz |
bitbake: runqueue: Ensure target_tids is filtered
bitbake <target> --runonly=fetch
failed as the target_tids list included entries which were no longer targeted
task ids. Fix this.
(Bitbake rev: 94e848ae6544e628a19cb97115279b0b1678967c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 4e64ddfdad..7fa074f679 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1736,6 +1736,7 @@ class RunQueueExecute: | |||
1736 | # We can't skip specified target tasks which aren't setscene tasks | 1736 | # We can't skip specified target tasks which aren't setscene tasks |
1737 | self.cantskip = set(self.rqdata.target_tids) | 1737 | self.cantskip = set(self.rqdata.target_tids) |
1738 | self.cantskip.difference_update(self.rqdata.runq_setscene_tids) | 1738 | self.cantskip.difference_update(self.rqdata.runq_setscene_tids) |
1739 | self.cantskip.intersection_update(self.rqdata.runtaskentries) | ||
1739 | 1740 | ||
1740 | schedulers = self.get_schedulers() | 1741 | schedulers = self.get_schedulers() |
1741 | for scheduler in schedulers: | 1742 | for scheduler in schedulers: |