Skip to content

Commit

Permalink
os-release: bypass the allarch_package_arch_handler
Browse files Browse the repository at this point in the history
This is a fixup for 96bc076 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 <[email protected]>
  • Loading branch information
quaresmajose authored and ricardosalveti committed Nov 16, 2022
1 parent 549d496 commit a78ae7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions meta-lmp-base/recipes-core/os-release/os-release.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a78ae7f

Please sign in to comment.