From 28cf26d674fb35b5e29ce2e54d7bb8231e00e8c9 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Thu, 24 Jan 2013 20:50:28 -0500 Subject: [PATCH] Remove unneeded /nix/rw-store creation when using readOnlyStore --- modules/system/boot/stage-2-init.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/system/boot/stage-2-init.sh b/modules/system/boot/stage-2-init.sh index 6c8335dbf3b..e7c9e2b23d8 100644 --- a/modules/system/boot/stage-2-init.sh +++ b/modules/system/boot/stage-2-init.sh @@ -49,7 +49,6 @@ chown 0:30000 /nix/store chmod 1775 /nix/store if [ -n "@readOnlyStore@" ]; then if ! mountpoint -q /nix/store; then - mkdir -p /nix/rw-store mount --bind /nix/store /nix/store mount -o remount,ro,bind /nix/store fi