burrow-pi-img/stage2/03-set-timezone/02-run.sh
2019-08-14 11:26:55 +01:00

9 lines
171 B
Bash
Executable File

#!/bin/bash -e
echo "${TIMEZONE_DEFAULT}" > "${ROOTFS_DIR}/etc/timezone"
rm "${ROOTFS_DIR}/etc/localtime"
on_chroot << EOF
dpkg-reconfigure -f noninteractive tzdata
EOF