touchprint/stage2/03-set-timezone/02-run.sh
2018-10-11 17:20:18 +01:00

8 lines
165 B
Bash
Executable file

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