From ad4d82c5d728f87fc1bc04cce9ed2c17dbfdbd6d Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Wed, 28 Oct 2026 11:21:34 +0100 Subject: Activate the default timezone --- board/common/post-build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/common/post-build.sh b/board/common/post-build.sh index d96b74b..408747a 100755 --- a/board/common/post-build.sh +++ b/board/common/post-build.sh @@ -15,8 +15,6 @@ __EOF__ fi -#touch ${TARGET_DIR}/home/sebastien/test - . "${BR2_EXTERNAL_BASTION_PATH}/board/common/common.sh" . "${BR2_EXTERNAL_BASTION_PATH}/board/common/network.sh" add_tmpfs '/tmp' @@ -35,3 +33,6 @@ mkdir -p "${TARGET_DIR}"/etc/systemd/system/getty.target.wants # Add a console on ttyAMA0 and enable auto login ln -sf /usr/lib/systemd/system/serial-getty@.service "${TARGET_DIR}"/etc/systemd/system/getty.target.wants/serial-getty@ttyGS0.service sed '/^ExecStart=/ s/-o .-p -- ..u./--skip-login --noclear --noissue --login-options "-f root"/' -i "${TARGET_DIR}"/usr/lib/systemd/system/serial-getty@.service + +# Add the timezone +ln -sf /usr/share/zoneinfo/Europe/Paris "${TARGET_DIR}/etc/localtime" -- cgit v1.2.3