diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2012-08-17 00:13:47 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-17 18:04:11 +0100 |
commit | 199259b8d87ee86038de355dd6caeb489d6473f0 (patch) | |
tree | f6b3c0c0277bc4399ad8fa7ccfbb4fd2541e733f /meta | |
parent | 4a8232d959e24e73998d7541c4a524774387cabf (diff) | |
download | openembedded-core-199259b8d87ee86038de355dd6caeb489d6473f0.tar.gz openembedded-core-199259b8d87ee86038de355dd6caeb489d6473f0.tar.bz2 openembedded-core-199259b8d87ee86038de355dd6caeb489d6473f0.zip |
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@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | 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 6487436ccd..2947509bf5 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 \ |