]> code.ossystems Code Review - openembedded-core.git/commit
rm_work: Handle race with -inital tasks
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Dec 2017 12:39:42 +0000 (12:39 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 6 Jan 2018 10:11:42 +0000 (10:11 +0000)
commita66bf18b35a6ebbad7c821512cdf5969f72d6844
tree48e636910263c466868bfe5da646d82de773a14b
parent1d905de8274b417336b3e0422417f9ce5ddfedb3
rm_work: Handle race with -inital tasks

There is a race with rm_work when tasks run deltask do_build since
do_rm_work becomes a floating task. Handle this by injecting
the populate_sysroot/lic dependencies manually if the tasks returned
are empty. This depends on a change to fix bb.build.preceedtask() in
bitbake too.

[YOCTO #12365]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0f537d985b7b17af508a511fca8a4ec4b5804580)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/rm_work.bbclass