about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-30 16:07:09 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-30 16:07:09 +0200
commit39a67503621307692c00ec91edf8cdd3b0c23da2 (patch)
treee0a443ff1ea5650c6e1ea20257cc09264e254403 /nixos
parent5e96158234d93e624f179cf47e1e261670c1f901 (diff)
downloadnixlib-39a67503621307692c00ec91edf8cdd3b0c23da2.tar
nixlib-39a67503621307692c00ec91edf8cdd3b0c23da2.tar.gz
nixlib-39a67503621307692c00ec91edf8cdd3b0c23da2.tar.bz2
nixlib-39a67503621307692c00ec91edf8cdd3b0c23da2.tar.lz
nixlib-39a67503621307692c00ec91edf8cdd3b0c23da2.tar.xz
nixlib-39a67503621307692c00ec91edf8cdd3b0c23da2.tar.zst
nixlib-39a67503621307692c00ec91edf8cdd3b0c23da2.zip
Shut up a warning in stage 2
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/stage-2-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-2-init.sh b/nixos/modules/system/boot/stage-2-init.sh
index eff2fb583bab..66b8243fbd20 100644
--- a/nixos/modules/system/boot/stage-2-init.sh
+++ b/nixos/modules/system/boot/stage-2-init.sh
@@ -29,7 +29,7 @@ setPath "@path@"
 # Normally, stage 1 mounts the root filesystem read/writable.
 # However, in some environments, stage 2 is executed directly, and the
 # root is read-only.  So make it writable here.
-mount -n -o remount,rw /
+mount -n -o remount,rw none /
 
 
 # Likewise, stage 1 mounts /proc, /dev and /sys, so if we don't have a