summary refs log tree commit diff
path: root/nixos/modules/installer/tools/nixos-install.sh
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-02-08 20:47:36 +0300
committerNikolay Amiantov <ab@fmap.me>2016-02-10 02:08:36 +0300
commit46f3975d9996d73f2257ce92f50a75c362c5d05b (patch)
tree6ebf5a3bb2f205d9c2062355737a74f58010b90f /nixos/modules/installer/tools/nixos-install.sh
parent0024c10a5c974ee41c7bc69cd61faaa920f3a9d4 (diff)
downloadnixpkgs-46f3975d9996d73f2257ce92f50a75c362c5d05b.tar
nixpkgs-46f3975d9996d73f2257ce92f50a75c362c5d05b.tar.gz
nixpkgs-46f3975d9996d73f2257ce92f50a75c362c5d05b.tar.bz2
nixpkgs-46f3975d9996d73f2257ce92f50a75c362c5d05b.tar.lz
nixpkgs-46f3975d9996d73f2257ce92f50a75c362c5d05b.tar.xz
nixpkgs-46f3975d9996d73f2257ce92f50a75c362c5d05b.tar.zst
nixpkgs-46f3975d9996d73f2257ce92f50a75c362c5d05b.zip
nixos-install: don't check that /mnt is a mount point
Diffstat (limited to 'nixos/modules/installer/tools/nixos-install.sh')
-rw-r--r--nixos/modules/installer/tools/nixos-install.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/nixos/modules/installer/tools/nixos-install.sh b/nixos/modules/installer/tools/nixos-install.sh
index 4e10615f902..c23d7e5b509 100644
--- a/nixos/modules/installer/tools/nixos-install.sh
+++ b/nixos/modules/installer/tools/nixos-install.sh
@@ -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