From patchwork Thu Aug 16 22:28:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [V2, 5/6] task-core-boot: Add busybox-hwclock if MACHINE_FEATURES contains rtc Date: Thu, 16 Aug 2012 22:28:51 -0000 From: Andrei Gherzan X-Patchwork-Id: 34755 Message-Id: <2c0055c43eae1489aee3e5e3fa2b8481d10fe0ce.1345155936.git.andrei@gherzan.ro> To: openembedded-core@lists.openembedded.org 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 --- meta/recipes-core/tasks/task-core-boot.bb | 1 + 1 file changed, 1 insertion(+) 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 \