base-image: Install packagegroup-ublox for all hardwares

This packagegroup is anyway filtering based on UBLOX_FEATURES.
But since UBLOX_FEATURES has a default value in the packagegroup, we
must also override this default value from distro.

BugzID: 73593
This commit is contained in:
Alexandre Bard 2021-07-20 21:06:58 +02:00
parent e9da28c98e
commit c824d39f14
2 changed files with 6 additions and 1 deletions

View File

@ -109,3 +109,8 @@ INITRAMFS_IMAGE ?= "initramfs-ostree-image"
# These rules may make gpsd start automatically when detecting a # These rules may make gpsd start automatically when detecting a
# receiver. We don't want that since gpsd is started by gnss-mgr # receiver. We don't want that since gpsd is started by gnss-mgr
PACKAGE_EXCLUDE = "gpsd-udev" PACKAGE_EXCLUDE = "gpsd-udev"
# Making sure the request ublox modules are set in machine.conf
# instead of using the default set
UBLOX_FEATURES ?= ""

View File

@ -68,6 +68,7 @@ IMAGE_INSTALL_append = " \
udev-rules-nmhw \ udev-rules-nmhw \
nmhw-fwupdate \ nmhw-fwupdate \
packagegroup-system-state-framework \ packagegroup-system-state-framework \
packagegroup-ublox-modules \
${@bb.utils.contains("MACHINE_FEATURES", "imx-boot", "", "bootloader-config", d)} \ ${@bb.utils.contains("MACHINE_FEATURES", "imx-boot", "", "bootloader-config", d)} \
mmc-utils \ mmc-utils \
${@bb.utils.contains("DISTRO_FEATURES", "custom-mac-addresses", "mac-address-set", "", d)} \ ${@bb.utils.contains("DISTRO_FEATURES", "custom-mac-addresses", "mac-address-set", "", d)} \
@ -81,7 +82,6 @@ IMAGE_INSTALL_append = " \
IMAGE_INSTALL_append_imx8-nmhw23 = " \ IMAGE_INSTALL_append_imx8-nmhw23 = " \
packagegroup-ublox-modules \
gnss-init \ gnss-init \
" "