packagegroup-dey-core: use VIRTUAL-RUNTIME providers for base-utils package

This change allows overriding the base-utils used in the distribution.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2019-02-14 12:52:26 +01:00
parent 469d852e93
commit 50e3b6db34
1 changed files with 8 additions and 4 deletions

View File

@ -15,6 +15,10 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
# Distro can override the following VIRTUAL-RUNTIME providers:
VIRTUAL-RUNTIME_base-utils ?= "busybox"
VIRTUAL-RUNTIME_base-utils-acpid ?= "busybox-acpid"
VIRTUAL-RUNTIME_base-utils-hwclock ?= "busybox-hwclock"
VIRTUAL-RUNTIME_base-utils-syslog ?= "busybox-syslog"
VIRTUAL-RUNTIME_dev_manager ?= "udev"
VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
VIRTUAL-RUNTIME_initscripts ?= "initscripts"
@ -29,11 +33,9 @@ RDEPENDS_${PN} = "\
awsiotsdk-c \
base-files \
base-passwd \
busybox \
busybox-acpid \
cloudconnector \
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "rtc", "${VIRTUAL-RUNTIME_base-utils-hwclock}", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "touchscreen", "${VIRTUAL-RUNTIME_touchscreen}", "",d)} \
init-ifupdown \
libdigiapix \
@ -44,6 +46,8 @@ RDEPENDS_${PN} = "\
recovery-utils \
sysinfo \
usbutils \
${VIRTUAL-RUNTIME_base-utils} \
${VIRTUAL-RUNTIME_base-utils-acpid} \
${VIRTUAL-RUNTIME_dev_manager} \
${VIRTUAL-RUNTIME_init_manager} \
${VIRTUAL-RUNTIME_initscripts} \
@ -55,7 +59,7 @@ RDEPENDS_${PN} = "\
"
RRECOMMENDS_${PN} = "\
busybox-syslog \
${VIRTUAL-RUNTIME_base-utils-syslog} \
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} \
${MACHINE_EXTRA_RRECOMMENDS} \
"