]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
runqueue: Improve handling of failing setscene tasks with hard dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Jun 2013 16:03:45 +0000 (16:03 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Jun 2013 16:08:02 +0000 (17:08 +0100)
commitc54e738e2b5dc0d8e6fd8e93b284ed96e7a83051
tree1c6e7b5cde0ac08e974961e69ec83aad2a38d27e
parente171a363913a86e56266f4c9d107110c7f5221e3
runqueue: Improve handling of failing setscene tasks with hard dependencies

If a setscene task has a hard dependency on a task like pseudo-native, its
expected that the setscene task will not run unless the dependency is met.

This adds code to ensure that is the case, otherwise a bug would show up
with a usecase like:

bitbake gnome-common
bitbake pseudo-native -c cleansstate
bitbake gnome-common -c clean
bitbake gnome-common

With the double wrapper script environment, we'd not see issues like
this as it would be masked. The problem theoretically affects code like
useradd too as well as anything using a sstate postinstall.

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