summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Joya <alejandro.joya.cruz@intel.com>2015-11-17 16:13:16 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-05 14:01:48 +0000
commit9f5b8047c5247b18602dd79d384d57e07220abb2 (patch)
tree4459b4bcf450bf104f1e425461e22359aae2d863
parentf0f7062e9aa5e7708fc92cac2afb1aa85eb3d4ef (diff)
downloadopenembedded-core-contrib-9f5b8047c5247b18602dd79d384d57e07220abb2.tar.gz
openembedded-core-contrib-9f5b8047c5247b18602dd79d384d57e07220abb2.tar.bz2
openembedded-core-contrib-9f5b8047c5247b18602dd79d384d57e07220abb2.zip
packagegroup-core-boot:replace busybox to variable
It replaces the use of busybox as hardcoded dependency to more dynamic this wouldn't affect the way that the system is build only it let a more flexible replacement in the core. Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-boot.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
index 09f537372e..bac93b89b3 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
@@ -24,7 +24,7 @@ VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
VIRTUAL-RUNTIME_initscripts ?= "initscripts"
VIRTUAL-RUNTIME_keymaps ?= "keymaps"
-SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \
+SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '${VIRTUAL-RUNTIME_base-utils-hwclock}', '', d)} \
modutils-initscripts \
init-ifupdown \
${VIRTUAL-RUNTIME_initscripts} \
@@ -33,7 +33,7 @@ SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', 'busybox-hwc
RDEPENDS_${PN} = "\
base-files \
base-passwd \
- busybox \
+ ${VIRTUAL-RUNTIME_base-utils} \
${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
netbase \