recipes-core: Fix timezone definition for tiny images

This commit is contained in:
tkl 2021-04-12 10:01:49 +02:00
parent 500008e866
commit 59fb332512

View File

@ -31,16 +31,10 @@ IMAGE_INSTALL += " \
IMAGE_INSTALL_append_beaglebone-yocto = " linux-firmware-rtl8192cu" IMAGE_INSTALL_append_beaglebone-yocto = " linux-firmware-rtl8192cu"
set_local_timezone() {
ln -sf /usr/share/zoneinfo/Europe/Berlin ${IMAGE_ROOTFS}/etc/localtime
}
disable_bootlogd() { disable_bootlogd() {
echo BOOTLOGD_ENABLE=no > ${IMAGE_ROOTFS}/etc/default/bootlogd echo BOOTLOGD_ENABLE=no > ${IMAGE_ROOTFS}/etc/default/bootlogd
} }
ROOTFS_POSTPROCESS_COMMAND += " \ ROOTFS_POSTPROCESS_COMMAND += " \
set_local_timezone ; \
disable_bootlogd ; \ disable_bootlogd ; \
" "