summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rwxr-xr-xboard/common/post-build.sh5
1 files 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"