Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/
Date: Sun, 08 Jan 2012 02:30:03
Message-Id: ae2a061ca74e33d0b1ecfc32c778d0b3f9970c12.robbat2@gentoo
1 commit: ae2a061ca74e33d0b1ecfc32c778d0b3f9970c12
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 8 02:29:48 2012 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 8 02:29:48 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=ae2a061c
7
8 Disable the /usr mount code until OpenRC section is ready, so that it goes to read-write properly. It was usable in systemd already...
9
10 ---
11 defaults/linuxrc | 10 +++++++---
12 1 files changed, 7 insertions(+), 3 deletions(-)
13
14 diff --git a/defaults/linuxrc b/defaults/linuxrc
15 index 599c0d1..6bdaea1 100755
16 --- a/defaults/linuxrc
17 +++ b/defaults/linuxrc
18 @@ -702,10 +702,14 @@ else
19 fi
20
21 # Mount the additional things as required by udev & systemd
22 -if [ ! -f ${NEW_ROOT}/etc/initramfs.mounts ]; then
23 - fslist="/usr"
24 -else
25 +if [ -f ${NEW_ROOT}/etc/initramfs.mounts ]; then
26 fslist=$(get_mounts_list)
27 +else
28 + # Disabled until the new OpenRC is ready to go.
29 + # Otherwise users will get /usr mounted RO, and it will NOT transition to
30 + # RW correctly.
31 + #fslist="/usr"
32 + fslist=""
33 fi
34
35 for fs in $fslist; do