summary refs log tree commit diff
path: root/nixos/modules/installer/tools/nixos-install.sh
diff options
context:
space:
mode:
authorAlexander Ried <ried@mytum.de>2016-09-03 19:17:44 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-09-03 19:17:44 +0200
commit1542bddcc8ea3fe95754e5f0ea316bd268af971d (patch)
treee6c2a11be9b31caa544d771ca426c7d3a6daf57c /nixos/modules/installer/tools/nixos-install.sh
parentaecefd5579290fedb9a218937ae7c466a5c3874f (diff)
downloadnixpkgs-1542bddcc8ea3fe95754e5f0ea316bd268af971d.tar
nixpkgs-1542bddcc8ea3fe95754e5f0ea316bd268af971d.tar.gz
nixpkgs-1542bddcc8ea3fe95754e5f0ea316bd268af971d.tar.bz2
nixpkgs-1542bddcc8ea3fe95754e5f0ea316bd268af971d.tar.lz
nixpkgs-1542bddcc8ea3fe95754e5f0ea316bd268af971d.tar.xz
nixpkgs-1542bddcc8ea3fe95754e5f0ea316bd268af971d.tar.zst
nixpkgs-1542bddcc8ea3fe95754e5f0ea316bd268af971d.zip
nixos-install.sh: Create /var (#18266)
Got lost in a6670c1a0b8cda8235296900cff950f39f60cf4f
Diffstat (limited to 'nixos/modules/installer/tools/nixos-install.sh')
-rw-r--r--nixos/modules/installer/tools/nixos-install.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/installer/tools/nixos-install.sh b/nixos/modules/installer/tools/nixos-install.sh
index 589a51fa709..0a452b86018 100644
--- a/nixos/modules/installer/tools/nixos-install.sh
+++ b/nixos/modules/installer/tools/nixos-install.sh
@@ -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