diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-04 14:23:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-05 11:41:46 +0000 |
commit | 47e5c456a20432b511d830df9cbd4113a4352b2c (patch) | |
tree | 46812114a7cddcdb90619e64b4a920c56513d714 /scripts/lib/scriptpath.py | |
parent | a45d5e201c6fdfc12663de65d9872ff681fcaa79 (diff) | |
download | poky-47e5c456a20432b511d830df9cbd4113a4352b2c.tar.gz |
bitbake: runqueue: Fix runall option task deletion ordering issue
The runbuild option handling in runqueue was flawed as items deleted from the
main task list may be dependencies and hence cause index errors.
Rather than modify runtaskentries straight away, compute a new shorted list
and use that as an input to the second phase. This avoids the need to add tasks
back to the list meaning delcount can be simplifed to a simple counter.
The second use case in runonly doen't re-add items so doesn't have this
issue.
(Bitbake rev: 3428e3c54eb5cc03ff96f9cee6dc839afee7a419)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions