]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
build-sysroots: Ensure dependency chains are minimal
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Aug 2023 15:04:42 +0000 (16:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Aug 2023 14:13:51 +0000 (15:13 +0100)
We need to ensure this recipe doesn't have dependencies on others. The SPDX
classes/tasks introduce dependenies quilt-native and patch-native which can
introduce races on files in the sysroots. Avoid the races by removing the
tasks we don't need.

[YOCTO #15186]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/meta/build-sysroots.bb

index 72da88921af2dc380a28628f65144ca357d35fae..1a3b692a1b13c3d3c2ca43334d42352ed5f0d3de 100644 (file)
@@ -17,6 +17,10 @@ deltask configure
 deltask compile
 deltask install
 deltask populate_sysroot
+deltask create_spdx
+deltask collect_spdx_deps
+deltask create_runtime_spdx
+deltask recipe_qa
 
 python do_build_native_sysroot () {
     targetsysroot = d.getVar("STANDALONE_SYSROOT")