[oe-commits] Andrei Gherzan : task-core-boot: Add busybox-hwclock if MACHINE_FEATURES contains rtc

git at git.openembedded.org git at git.openembedded.org
Fri Aug 17 17:09:33 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 199259b8d87ee86038de355dd6caeb489d6473f0
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=199259b8d87ee86038de355dd6caeb489d6473f0

Author: Andrei Gherzan <andrei at gherzan.ro>
Date:   Fri Aug 17 00:13:47 2012 +0300

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.

Signed-off-by: Andrei Gherzan <andrei at gherzan.ro>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-core/tasks/task-core-boot.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/tasks/task-core-boot.bb b/meta/recipes-core/tasks/task-core-boot.bb
index 6487436..2947509 100644
--- a/meta/recipes-core/tasks/task-core-boot.bb
+++ b/meta/recipes-core/tasks/task-core-boot.bb
@@ -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 \





More information about the Openembedded-commits mailing list