summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-21 16:04:42 +0100
committerSteve Sakoman <steve@sakoman.com>2023-09-04 04:13:25 -1000
commitef9e041052147a6bb8a4c3d18369b1cbd17c741c (patch)
tree28b3e087a4bf3bd179d5ab5f055e563b094a1fb6
parentf62d8a7103b30e2dd97255489122b7734e6c297b (diff)
downloadpoky-ef9e041052147a6bb8a4c3d18369b1cbd17c741c.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: a3e2e156c602e7fabf0024a6c9dc4603d327f08b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a5dc278b077edba8f4099f0f6dfb97e97f680320) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-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")