1 |
commit: 0e13d3f704220379a40e1a8e750dd58961f9e78e |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 16 01:04:02 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 16 14:29:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=0e13d3f7 |
7 |
|
8 |
defaults/linuxrc: Fix mounting of /proc |
9 |
|
10 |
Cannot use `run` before root was mounted writable. |
11 |
|
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
defaults/linuxrc | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/defaults/linuxrc b/defaults/linuxrc |
18 |
index e90bd34..682f647 100644 |
19 |
--- a/defaults/linuxrc |
20 |
+++ b/defaults/linuxrc |
21 |
@@ -31,7 +31,7 @@ then |
22 |
exit 1 |
23 |
fi |
24 |
|
25 |
-run mount -t proc -o noexec,nosuid,nodev proc /proc >/dev/null 2>&1 |
26 |
+mount -t proc -o noexec,nosuid,nodev proc /proc >/dev/null 2>&1 |
27 |
mount -o remount,rw / >/dev/null 2>&1 |
28 |
|
29 |
# Prevent superfluous printks from being printed to the console |