mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
nixos-install: don't check that /mnt is a mount point
This commit is contained in:
parent
2d9d8ae5fb
commit
8da01f220f
@ -73,11 +73,6 @@ if ! test -e "$mountPoint"; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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.
|
# Mount some stuff in the target root directory.
|
||||||
mkdir -m 0755 -p $mountPoint/dev $mountPoint/proc $mountPoint/sys $mountPoint/etc $mountPoint/run $mountPoint/home
|
mkdir -m 0755 -p $mountPoint/dev $mountPoint/proc $mountPoint/sys $mountPoint/etc $mountPoint/run $mountPoint/home
|
||||||
|
Loading…
Reference in New Issue
Block a user