From ff926f72a10f751d3783c39e9789d768e2865ca1 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Mon, 29 Jun 2020 20:26:19 +0300 Subject: [PATCH] Set timezone from outside chroot --- configs/releng/airootfs/etc/localtime | 1 + configs/releng/airootfs/root/customize_airootfs.sh | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) create mode 120000 configs/releng/airootfs/etc/localtime 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