]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake/runqueue: fix clash when setscene & real tasks done in same build
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 25 Mar 2011 13:22:01 +0000 (13:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Jun 2011 10:47:48 +0000 (11:47 +0100)
commit32e190e5ccaaa75183dbc410f32b700d39874aca
tree19bea7425ad93f3cae17e3266e93ee0db4c3c86d
parent61080391726d3e4798faeb8d35df9f32a0653491
bitbake/runqueue: fix clash when setscene & real tasks done in same build

If a build causes a real task to be run when the setscene task has already
run then it was possible for dependent packages to be rebuilding at the same
time as a rebuild of the packages they depended on, resulting in failures
when files were missing. This change looks in the setscene covered list and
removes anything where a dependency of the real task is going to be run (e.g.
do_install is going to be run even though the setscene equivalent of
do_populate_sysroot has already been run).

As an additional safeguard we also delete the stamp file for the setscene
task under these circumstances.

Fixes [YOCTO #792]

(From Poky rev: b4268c08c350a7928a0b1a041b04ffe5a44e77b4)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/runqueue.py