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-21 11:35:37 +0000 |
commit | a5d653f69371f3d7a815adaa1bab292d58dccf9f (patch) | |
tree | d46465869670465d320c2d1d4884a40742778ed6 /bitbake/lib/pyinotify.py | |
parent | 8fe7b8d53a4ffbdd950d6269fd68739a22c75c45 (diff) | |
download | poky-a5d653f69371f3d7a815adaa1bab292d58dccf9f.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: 44574295d54ec9e48c9ecdd4eb869c4494e77679)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3428e3c54eb5cc03ff96f9cee6dc839afee7a419)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/pyinotify.py')
0 files changed, 0 insertions, 0 deletions