* Grmbl. Create the missing mount points.

svn path=/nixos/trunk/; revision=23592
This commit is contained in:
Eelco Dolstra 2010-09-01 11:00:35 +00:00
parent 2ac462c3c7
commit d550cc6d63

View File

@ -86,9 +86,11 @@ with pkgs.lib;
boot.initrd.postMountCommands =
''
mkdir -m 1777 -p $targetRoot/ephemeral0/tmp
mkdir -m 1777 -p $targetRoot/tmp
mount --bind $targetRoot/ephemeral0/tmp $targetRoot/tmp
mkdir -m 755 -p $targetRoot/ephemeral0/var
mkdir -m 755 -p $targetRoot/var
mount --bind $targetRoot/ephemeral0/var $targetRoot/var
mkdir -m 755 -p $targetRoot/ephemeral0/nix