From ae2a061ca74e33d0b1ecfc32c778d0b3f9970c12 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sun, 8 Jan 2012 02:29:48 +0000 Subject: [PATCH] Disable the /usr mount code until OpenRC section is ready, so that it goes to read-write properly. It was usable in systemd already... --- defaults/linuxrc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/defaults/linuxrc b/defaults/linuxrc index 599c0d1..6bdaea1 100755 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -702,10 +702,14 @@ else fi # Mount the additional things as required by udev & systemd -if [ ! -f ${NEW_ROOT}/etc/initramfs.mounts ]; then - fslist="/usr" -else +if [ -f ${NEW_ROOT}/etc/initramfs.mounts ]; then fslist=$(get_mounts_list) +else + # Disabled until the new OpenRC is ready to go. + # Otherwise users will get /usr mounted RO, and it will NOT transition to + # RW correctly. + #fslist="/usr" + fslist="" fi for fs in $fslist; do -- 2.26.2