summaryrefslogtreecommitdiff
path: root/stage2/03-set-timezone/02-run.sh
blob: 96b22c7f4ef9a465d8949852aa101a8212498411 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash -e

echo "${TIMEZONE_DEFAULT}" > "${ROOTFS_DIR}/etc/timezone"
rm "${ROOTFS_DIR}/etc/localtime"

on_chroot << EOF
dpkg-reconfigure -f noninteractive tzdata
EOF