This repository has been archived on 2024-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
clic-rpi-image/stage2/03-set-timezone/02-run.sh

9 lines
171 B
Bash
Raw Normal View History

2018-10-11 15:39:39 +00:00
#!/bin/bash -e
echo "${TIMEZONE_DEFAULT}" > "${ROOTFS_DIR}/etc/timezone"
2018-10-11 15:39:39 +00:00
rm "${ROOTFS_DIR}/etc/localtime"
on_chroot << EOF
dpkg-reconfigure -f noninteractive tzdata
EOF