]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes/recipes: Switch to use inherit_defer
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 31 Dec 2023 13:27:50 +0000 (13:27 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Jan 2024 10:15:32 +0000 (10:15 +0000)
commit451363438d38bd4552d5bcec4a92332f5819a5d4
tree68fe42e2dfe5d3cd1fe8996b775bfc89cf8909f2
parent0ffff2c1f80a9b79b133d787764bab164d9abd70
classes/recipes: Switch to use inherit_defer

Now that bitbake supports the use of inherit_defer, switch all conditional
(variable based) inherits to use this instead. This leads to more a more
deterministic user experience since there is no longer an immediate expansion
and later changes to the variables in question (e.g. a bbappend) are
accounted for.

This patch tries to ensure the behaviour before/after remains as unchanged
as it reasonably can, e.g. by always inherting populate_sdk_base. native
and nativesdk continue to need to be inherited last, hence being used
with inherit_defer in a handful of very specific cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 files changed:
meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb
meta/classes-recipe/baremetal-image.bbclass
meta/classes-recipe/gnomebase.bbclass
meta/classes-recipe/image.bbclass
meta/classes-recipe/image_types_wic.bbclass
meta/classes-recipe/kernel.bbclass
meta/classes-recipe/live-vm-common.bbclass
meta/classes-recipe/packagegroup.bbclass
meta/classes-recipe/populate_sdk_base.bbclass
meta/classes/useradd.bbclass
meta/recipes-core/libxml/libxml2_2.11.5.bb
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
meta/recipes-devtools/btrfs-tools/btrfs-tools_6.5.3.bb
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
meta/recipes-kernel/perf/perf.bb
meta/recipes-kernel/systemtap/systemtap-native_git.bb
meta/recipes-kernel/systemtap/systemtap_git.bb
meta/recipes-support/gpgme/gpgme_1.23.2.bb