Merge pull request #12908 from abbradar/nixos-install-no-check

nixos-install: don't check that /mnt is a mount point
This commit is contained in:
Eelco Dolstra 2016-02-10 11:29:39 +01:00
commit a4f5dc8bbf

View File

@ -73,11 +73,6 @@ if ! test -e "$mountPoint"; then
exit 1
fi
if ! grep -F -q " $mountPoint " /proc/mounts; then
echo "$mountPoint doesn't appear to be a mount point"
exit 1
fi
# Mount some stuff in the target root directory.
mkdir -m 0755 -p $mountPoint/dev $mountPoint/proc $mountPoint/sys $mountPoint/etc $mountPoint/run $mountPoint/home