nixos-prepare-root: force symlink at /run

Otherwise a reinstall will fail.
This commit is contained in:
Jörg Thalheim
2017-05-01 16:09:27 +02:00
parent 41475012eb
commit 361314ca71

View File

@@ -37,7 +37,7 @@ mkdir -m 0755 -p $mountPoint/tmp/root
mkdir -m 0755 -p $mountPoint/var
mkdir -m 0700 -p $mountPoint/root
ln -s /run $mountPoint/var/run
ln -sf /run $mountPoint/var/run
# Create the necessary Nix directories on the target device
mkdir -m 0755 -p \