touchprint/stage2/03-set-timezone/02-run.sh

10 lines
183 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -e
2020-08-17 19:54:31 -04:00
echo "${TIMEZONE_DEFAULT}" > "${ROOTFS_DIR}/etc/timezone"
rm "${ROOTFS_DIR}/etc/localtime"
on_chroot << EOF
dpkg-reconfigure -f noninteractive tzdata
EOF