summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2022-05-26 12:02:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-28 18:38:02 +0100
commitad946d9ed7e3225f12214f7e7bcd17bd0824a53e (patch)
treeb82a75f0a6bd1e69beb8af50ba17d94b796a4f21
parent2dda445879b682e9f4b303f3683683378f86e72d (diff)
downloadpoky-ad946d9ed7e3225f12214f7e7bcd17bd0824a53e.tar.gz
staging.bbclass: process direct dependencies in deterministic order
* this doesn't fix any issue (at least AFAIK), just keeps the log files more deterministic to avoid unnecessary churn like in: --- /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/temp/log.do_patch.2213051 2022-05-26 11:35:44.110063749 +0200 +++ /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/temp/log.do_patch.2213372 2022-05-26 11:35:54.553062630 +0200 @@ -1,7 +1,7 @@ DEBUG: Executing python function extend_recipe_sysroot -NOTE: Direct dependencies are ['virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot'] +NOTE: Direct dependencies are ['/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot'] NOTE: Installed into sysroot: [] -NOTE: Skipping as already exists in sysroot: ['patch-native', 'quilt-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native'] +NOTE: Skipping as already exists in sysroot: ['quilt-native', 'patch-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native'] DEBUG: Python function extend_recipe_sysroot finished DEBUG: Executing python function do_patch DEBUG: Executing python function patch_do_patch (From OE-Core rev: d3ebb37b97da15166d452bf51f5f7e0c312ae42e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/staging.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 8372a4574a..bf8ca58b0b 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -352,7 +352,7 @@ python extend_recipe_sysroot() {
352 #bb.note(" start is %s" % str(start)) 352 #bb.note(" start is %s" % str(start))
353 353
354 # Direct dependencies should be present and can be depended upon 354 # Direct dependencies should be present and can be depended upon
355 for dep in set(start): 355 for dep in sorted(set(start)):
356 if setscenedeps[dep][1] == "do_populate_sysroot": 356 if setscenedeps[dep][1] == "do_populate_sysroot":
357 if dep not in configuredeps: 357 if dep not in configuredeps:
358 configuredeps.append(dep) 358 configuredeps.append(dep)