nixos-install.sh: Create /var (#18266)

Got lost in a6670c1a0b
This commit is contained in:
Alexander Ried 2016-09-03 19:17:44 +02:00 committed by Franz Pletz
parent aecefd5579
commit 1542bddcc8

View File

@ -92,6 +92,7 @@ fi
mkdir -m 0755 -p $mountPoint/dev $mountPoint/proc $mountPoint/sys $mountPoint/etc $mountPoint/run $mountPoint/home
mkdir -m 01777 -p $mountPoint/tmp
mkdir -m 0755 -p $mountPoint/tmp/root
mkdir -m 0755 -p $mountPoint/var
mkdir -m 0700 -p $mountPoint/root
mount --rbind /dev $mountPoint/dev
mount --rbind /proc $mountPoint/proc