OSDN Git Service

Set timezone from outside chroot
authornl6720 <nl6720@gmail.com>
Mon, 29 Jun 2020 17:26:19 +0000 (20:26 +0300)
committernl6720 <nl6720@gmail.com>
Tue, 30 Jun 2020 03:25:43 +0000 (06:25 +0300)
configs/releng/airootfs/etc/localtime [new symlink]
configs/releng/airootfs/root/customize_airootfs.sh

diff --git a/configs/releng/airootfs/etc/localtime b/configs/releng/airootfs/etc/localtime
new file mode 120000 (symlink)
index 0000000..0e35b57
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/zoneinfo/UTC
\ No newline at end of file
index 10fc477..7c79023 100755 (executable)
@@ -5,8 +5,6 @@ set -e -u
 sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
 locale-gen
 
-ln -sf /usr/share/zoneinfo/UTC /etc/localtime
-
 usermod -s /usr/bin/zsh root
 cp -aT /etc/skel/ /root/
 chmod 700 /root