burrow-pi-img/stage2/03-set-timezone/02-run.sh

9 lines
165 B
Bash
Raw Permalink Normal View History

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