take advantage of var that we're setting anyway

This commit is contained in:
Pig Monkey 2018-05-05 11:12:11 -07:00
parent 20160b1e8d
commit 8603b8f0d3

View file

@ -90,10 +90,10 @@ Generate and verify [fstab][11].
Change root into the base install and perform [base configuration tasks][12].
$ arch-chroot /mnt /bin/bash
$ echo en_US.UTF-8 UTF-8 >> /etc/locale.gen
$ locale-gen
$ echo LANG=en_US.UTF-8 > /etc/locale.conf
$ export LANG=en_US.UTF-8
$ echo $LANG UTF-8 >> /etc/locale.gen
$ locale-gen
$ echo LANG=$LANG > /etc/locale.conf
$ ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
$ hwclock --systohc --utc
$ echo mymachine > /etc/hostname