stage2: set timezone properly

This commit is contained in:
Serge Schneider
2018-10-11 16:39:39 +01:00
parent 7ccf8185b3
commit 33e94c46f3
2 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash -e
echo "Europe/London" > "${ROOTFS_DIR}/etc/timezone"
rm "${ROOTFS_DIR}/etc/localtime"
on_chroot << EOF
dpkg-reconfigure -f noninteractive tzdata
EOF