0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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

Got lost in a6670c1a0b
(cherry picked from commit 1542bddcc8)
This commit is contained in:
Alexander Ried 2016-09-03 19:17:44 +02:00 committed by Franz Pletz
parent a86f2170e4
commit fcf8b481bf
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

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