From: Richard Purdie Date: Mon, 21 Aug 2023 15:04:42 +0000 (+0100) Subject: build-sysroots: Ensure dependency chains are minimal X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5dc278b077edba8f4099f0f6dfb97e97f680320;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git build-sysroots: Ensure dependency chains are minimal 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 --- diff --git a/meta/recipes-core/meta/build-sysroots.bb b/meta/recipes-core/meta/build-sysroots.bb index 72da88921af..1a3b692a1b1 100644 --- a/meta/recipes-core/meta/build-sysroots.bb +++ b/meta/recipes-core/meta/build-sysroots.bb @@ -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")