diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-10 11:29:39 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-10 11:29:39 +0100 |
commit | a4f5dc8bbf5435dd7bfb1bb6c36c28c6ce775dd3 (patch) | |
tree | 20555ab558349d6e56d81586772f37f955efbac6 /nixos/modules | |
parent | 318a89f691669b7e96b425d35707740f01f9d484 (diff) | |
parent | 46f3975d9996d73f2257ce92f50a75c362c5d05b (diff) | |
download | nixlib-a4f5dc8bbf5435dd7bfb1bb6c36c28c6ce775dd3.tar nixlib-a4f5dc8bbf5435dd7bfb1bb6c36c28c6ce775dd3.tar.gz nixlib-a4f5dc8bbf5435dd7bfb1bb6c36c28c6ce775dd3.tar.bz2 nixlib-a4f5dc8bbf5435dd7bfb1bb6c36c28c6ce775dd3.tar.lz nixlib-a4f5dc8bbf5435dd7bfb1bb6c36c28c6ce775dd3.tar.xz nixlib-a4f5dc8bbf5435dd7bfb1bb6c36c28c6ce775dd3.tar.zst nixlib-a4f5dc8bbf5435dd7bfb1bb6c36c28c6ce775dd3.zip |
Merge pull request #12908 from abbradar/nixos-install-no-check
nixos-install: don't check that /mnt is a mount point
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/installer/tools/nixos-install.sh | 5 |
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 4e10615f902f..c23d7e5b509d 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 |