* Fix the permissions on /tmp.
svn path=/nixos/trunk/; revision=28435
This commit is contained in:
parent
5932de5c1a
commit
74586fd2bb
|
@ -127,6 +127,7 @@ let
|
|||
cp -v ${pkgs.coreutils}/bin/basename $out/bin
|
||||
cp -v ${pkgs.coreutils}/bin/mkdir $out/bin
|
||||
cp -v ${pkgs.coreutils}/bin/mknod $out/bin
|
||||
cp -v ${pkgs.coreutils}/bin/chmod $out/bin
|
||||
cp -v ${pkgs.coreutils}/bin/cat $out/bin
|
||||
cp -v ${pkgs.coreutils}/bin/chroot $out/bin
|
||||
cp -v ${pkgs.coreutils}/bin/sleep $out/bin
|
||||
|
|
|
@ -272,6 +272,9 @@ in
|
|||
|
||||
boot.initrd.postMountCommands =
|
||||
''
|
||||
# Fix the permissions on /tmp.
|
||||
chmod 1777 $targetRoot/tmp
|
||||
|
||||
mkdir -p $targetRoot/boot
|
||||
mount -o remount,ro $targetRoot/nix/store
|
||||
${optionalString cfg.writableStore ''
|
||||
|
|
Loading…
Reference in a new issue