summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-21 16:04:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-22 15:13:54 +0100
commit57109584605d3ec6028cbbdead07dafa4ab757a7 (patch)
treed5cd2c7d339c97ec93ab279b13a43136bdb5b569
parent33fec625ad246a95aa83210941dcfc62cce05571 (diff)
downloadpoky-57109584605d3ec6028cbbdead07dafa4ab757a7.tar.gz
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] (From OE-Core rev: a5dc278b077edba8f4099f0f6dfb97e97f680320) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/meta/build-sysroots.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/build-sysroots.bb b/meta/recipes-core/meta/build-sysroots.bb
index 72da88921a..1a3b692a1b 100644
--- a/meta/recipes-core/meta/build-sysroots.bb
+++ b/meta/recipes-core/meta/build-sysroots.bb
@@ -17,6 +17,10 @@ deltask configure
17deltask compile 17deltask compile
18deltask install 18deltask install
19deltask populate_sysroot 19deltask populate_sysroot
20deltask create_spdx
21deltask collect_spdx_deps
22deltask create_runtime_spdx
23deltask recipe_qa
20 24
21python do_build_native_sysroot () { 25python do_build_native_sysroot () {
22 targetsysroot = d.getVar("STANDALONE_SYSROOT") 26 targetsysroot = d.getVar("STANDALONE_SYSROOT")