stage2: set timezone properly
This commit is contained in:
8
stage2/03-set-timezone/02-run.sh
Executable file
8
stage2/03-set-timezone/02-run.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
echo "Europe/London" > "${ROOTFS_DIR}/etc/timezone"
|
||||
rm "${ROOTFS_DIR}/etc/localtime"
|
||||
|
||||
on_chroot << EOF
|
||||
dpkg-reconfigure -f noninteractive tzdata
|
||||
EOF
|
Reference in New Issue
Block a user