read-only-store functionality should apply even when /nix/store is on a separate filesystem
This commit is contained in:
parent
134750f6ac
commit
09680dec6a
@ -51,10 +51,8 @@ echo "booting system configuration $systemConfig" > /dev/kmsg
|
||||
chown 0:30000 /nix/store
|
||||
chmod 1775 /nix/store
|
||||
if [ -n "@readOnlyStore@" ]; then
|
||||
if ! mountpoint -q /nix/store; then
|
||||
mount --bind /nix/store /nix/store
|
||||
mount -o remount,ro,bind /nix/store
|
||||
fi
|
||||
mount --bind /nix/store /nix/store
|
||||
mount -o remount,ro,bind /nix/store
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user