diff --git a/meta-digi-del/recipes-core/busybox/busybox_1.20.2.bbappend b/meta-digi-del/recipes-core/busybox/busybox_1.20.2.bbappend index 7c698d8ac..256a63c0b 100644 --- a/meta-digi-del/recipes-core/busybox/busybox_1.20.2.bbappend +++ b/meta-digi-del/recipes-core/busybox/busybox_1.20.2.bbappend @@ -13,8 +13,12 @@ SRC_URI += "file://0001-del-baudrates.patch \ file://suspend \ " +# Add device handlers to 'mdev' package FILES_${PN}-mdev += "${base_libdir}/mdev/adc ${base_libdir}/mdev/mmc ${base_libdir}/mdev/sd ${base_libdir}/mdev/ts" +# hwclock bootscript init parameters +INITSCRIPT_PARAMS_${PN}-hwclock = "start 20 S . stop 20 0 6 ." + do_install_append() { if grep "CONFIG_MDEV=y" ${WORKDIR}/defconfig; then if grep "CONFIG_FEATURE_MDEV_CONF=y" ${WORKDIR}/defconfig; then diff --git a/meta-digi-del/recipes-core/packagegroups/packagegroup-del-core.bb b/meta-digi-del/recipes-core/packagegroups/packagegroup-del-core.bb index 9b1abec24..fdd028523 100644 --- a/meta-digi-del/recipes-core/packagegroups/packagegroup-del-core.bb +++ b/meta-digi-del/recipes-core/packagegroups/packagegroup-del-core.bb @@ -31,6 +31,7 @@ RDEPENDS_${PN} = "\ busybox \ ${VIRTUAL-RUNTIME_passwd_manager} \ ${VIRTUAL-RUNTIME_initscripts} \ + ${@base_contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \ ${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \ ${@base_contains("MACHINE_FEATURES", "touchscreen", "tslib tslib-calibrate tslib-tests", "",d)} \ modutils-initscripts \