]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
kernel-yocto.bbclass: Fix deps when externalsrc is used
authorPaul Barker <pbarker@konsulko.com>
Wed, 8 Apr 2020 15:14:55 +0000 (16:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Apr 2020 12:57:00 +0000 (13:57 +0100)
commit75d31beb03d9369448d8d77e12321aa2d91bebf0
tree4f6ea9def753e5a03e1b2712401e5e33efb80d98
parent669600ef9b6155cd3d9b8092505a1eed289d40b1
kernel-yocto.bbclass: Fix deps when externalsrc is used

do_kernel_configme was recently removed from SRCTREECOVEREDTASKS so this
task still runs when externalsrc is used. This task normally runs after
do_patch but when externalsrc is used, do_patch is removed and this ordering
restriction does nothing. This allows bitbake to execute do_kernel_configme
too early, causing races with do_unpack.

This is fixed by adding in a dependency on do_unpack when externalsrc is
used.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass