1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

task-core-boot: Add busybox-hwclock if MACHINE_FEATURES contains rtc

For machines with no hardware clock it makes no sense to have this
init stript. Moreover, we avoid a boot error in this way.

(From OE-Core rev: 199259b8d87ee86038de355dd6caeb489d6473f0)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andrei Gherzan
2012-08-17 00:13:47 +03:00
committed by Richard Purdie
parent 0c095f2455
commit 8fd4f55ab0
@@ -34,6 +34,7 @@ RDEPENDS_task-core-boot = "\
base-files \
base-passwd \
busybox \
${@base_contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \
${VIRTUAL-RUNTIME_initscripts} \
${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
modutils-initscripts \