]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: runqueue: Improve setscene task handling logic
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Aug 2019 14:53:13 +0000 (15:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Aug 2019 16:28:23 +0000 (17:28 +0100)
commitc86ae704d312eec4e4a86ef046bc8d5601ef4176
tree03d411c170e9163640fffc242f4173c4d544908a
parent18c109d6f5366d5c92f10735f7408bbd7ffa76cb
bitbake: runqueue: Improve setscene task handling logic

The previous tasks_covered and tasks_notcovered were basically unstable
data structures. We couldn't always tell whether tasks should be covered
or not when trying to repair the sturcture if sstate tasks reran.

In the end its simpler to throw the lists away and rebuild them based upon
current data rather than trying to patch it adhoc. This turns out to be
simpler and much more reliable and I've much more confidence in this code.

(Bitbake rev: 52ee2ba2c617d928569f5afa404925c8b6f317bc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/runqueue.py