From ff827503f54f4b1a9aad35c244b6585edc0eb41c Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Sun, 30 May 2021 14:47:34 -0400 Subject: meta-agl-core: Rework packagegroup-agl-core-boot To avoid the problem of it drift with respect to the upstream packagegroup-core-boot that it was originally derived from, rework packagegroup-agl-core-boot to just RDEPEND on it instead. This has the benefit of making the AGL additions more clearly visible. Additionally: - Define VIRTUAL-RUNTIME_base-utils-syslog for packagegroup-core-boot to match AGL's current default. - Add a VIRTUAL-RUNTIME_rngd variable to allow downstream users to remove or replace rng-tools in their distro configuration. - Explicitly add the packagegroup to IMAGE_INSTALL in the base agl-image-boot.inc to better match upstream core-image-minimal in definition, and make sure that any derived image that is created by including the inc file (instead of the bb file) is usable. Bug-AGL: SPEC-3932 Signed-off-by: Scott Murray Change-Id: Ib82d5d6b561eca4d059c56b01a0caddefcb48776 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26376 Reviewed-by: Jan-Simon Moeller Tested-by: Jenkins Job builder account --- .../packagegroups/packagegroup-agl-core-boot.bb | 34 ++++------------------ 1 file changed, 6 insertions(+), 28 deletions(-) (limited to 'meta-agl-core/recipes-platform/packagegroups') diff --git a/meta-agl-core/recipes-platform/packagegroups/packagegroup-agl-core-boot.bb b/meta-agl-core/recipes-platform/packagegroups/packagegroup-agl-core-boot.bb index e4b540d79..2717dd153 100644 --- a/meta-agl-core/recipes-platform/packagegroups/packagegroup-agl-core-boot.bb +++ b/meta-agl-core/recipes-platform/packagegroups/packagegroup-agl-core-boot.bb @@ -11,37 +11,15 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit packagegroup -# -# Set by the machine configuration with packages essential for device bootup -# -MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" -MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" - -# Distro can override the following VIRTUAL-RUNTIME providers: -VIRTUAL-RUNTIME_dev_manager ?= "udev" -VIRTUAL-RUNTIME_keymaps ?= "keymaps" - -SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '${VIRTUAL-RUNTIME_base-utils-hwclock}', '', d)} \ - modutils-initscripts \ - init-ifupdown \ - ${VIRTUAL-RUNTIME_initscripts} \ - " +# Disto can override +VIRTUAL-RUNTIME_rngd ?= "rng-tools" RDEPENDS_${PN} = "\ - base-files \ - base-passwd \ - ${VIRTUAL-RUNTIME_base-utils} \ - rng-tools \ - ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \ - ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \ - netbase \ - ${VIRTUAL-RUNTIME_login_manager} \ - ${VIRTUAL-RUNTIME_init_manager} \ - ${VIRTUAL-RUNTIME_dev_manager} \ - ${VIRTUAL-RUNTIME_update-alternatives} \ - ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" + packagegroup-core-boot \ + ${VIRTUAL-RUNTIME_rngd} \ +" RRECOMMENDS_${PN} = "\ tzdata \ - ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" +" -- cgit 1.2.3-korg