Set timezone from outside chroot
This commit is contained in:
parent
3720627e88
commit
ff926f72a1
2 changed files with 1 additions and 2 deletions
1
configs/releng/airootfs/etc/localtime
Symbolic link
1
configs/releng/airootfs/etc/localtime
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/zoneinfo/UTC
|
|
@ -5,8 +5,6 @@ set -e -u
|
||||||
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
|
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
|
||||||
locale-gen
|
locale-gen
|
||||||
|
|
||||||
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
|
|
||||||
|
|
||||||
usermod -s /usr/bin/zsh root
|
usermod -s /usr/bin/zsh root
|
||||||
cp -aT /etc/skel/ /root/
|
cp -aT /etc/skel/ /root/
|
||||||
chmod 700 /root
|
chmod 700 /root
|
||||||
|
|
Loading…
Add table
Reference in a new issue