From a78ae7f428736c3c2b6612f91193a0bc13c843bb Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Wed, 16 Nov 2022 11:42:33 +0000 Subject: [PATCH] os-release: bypass the allarch_package_arch_handler This is a fixup for 96bc0769 os-release: set PACKAGE_ARCH machine dependent To set the PACKAGE_ARCH we need to bypass the allarch_package_arch_handler from allarch.bbclass otherwise they will set the PACKAGE_ARCH=all regardless of what is defined elsewhere. Signed-off-by: Jose Quaresma --- meta-lmp-base/recipes-core/os-release/os-release.bbappend | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-lmp-base/recipes-core/os-release/os-release.bbappend b/meta-lmp-base/recipes-core/os-release/os-release.bbappend index 73e809662b..67f51df7a0 100644 --- a/meta-lmp-base/recipes-core/os-release/os-release.bbappend +++ b/meta-lmp-base/recipes-core/os-release/os-release.bbappend @@ -17,6 +17,11 @@ IMAGE_ID = "${LMP_FACTORY_IMAGE}" IMAGE_VERSION = "${H_BUILD}" PACKAGE_ARCH = "${MACHINE_ARCH}" +# to set the PACKAGE_ARCH we need to bypass +# the allarch_package_arch_handler from allarch.bbclass +python allarch_package_arch_handler () { + pass +} inherit deploy