summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2020-06-29 20:26:19 +0300
committernl6720 <nl6720@gmail.com>2020-06-30 06:25:43 +0300
commitff926f72a10f751d3783c39e9789d768e2865ca1 (patch)
tree82920155cee6af8de3a886193010e4face3a82b7 /configs
parent3720627e8863fcd5abeeca529f7b0709e6365cc4 (diff)
downloadarchiso32-ff926f72a10f751d3783c39e9789d768e2865ca1.tar.xz
Set timezone from outside chroot
Diffstat (limited to 'configs')
l---------configs/releng/airootfs/etc/localtime1
-rwxr-xr-xconfigs/releng/airootfs/root/customize_airootfs.sh2
2 files changed, 1 insertions, 2 deletions
diff --git a/configs/releng/airootfs/etc/localtime b/configs/releng/airootfs/etc/localtime
new file mode 120000
index 0000000..0e35b57
--- /dev/null
+++ b/configs/releng/airootfs/etc/localtime
@@ -0,0 +1 @@
+/usr/share/zoneinfo/UTC \ No newline at end of file
diff --git a/configs/releng/airootfs/root/customize_airootfs.sh b/configs/releng/airootfs/root/customize_airootfs.sh
index 10fc477..7c79023 100755
--- a/configs/releng/airootfs/root/customize_airootfs.sh
+++ b/configs/releng/airootfs/root/customize_airootfs.sh
@@ -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