aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-07-16 03:04:02 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-07-16 16:29:17 +0200
commit0e13d3f704220379a40e1a8e750dd58961f9e78e (patch)
treeb86d373bea8ea5a4d429fa87f9bab105394f230c /defaults/linuxrc
parentAdd ZSTD compression support for initramfs (diff)
downloadgenkernel-0e13d3f704220379a40e1a8e750dd58961f9e78e.tar.gz
genkernel-0e13d3f704220379a40e1a8e750dd58961f9e78e.tar.bz2
genkernel-0e13d3f704220379a40e1a8e750dd58961f9e78e.zip
defaults/linuxrc: Fix mounting of /proc
Cannot use `run` before root was mounted writable. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'defaults/linuxrc')
-rw-r--r--defaults/linuxrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc
index e90bd349..682f6470 100644
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -31,7 +31,7 @@ then
exit 1
fi
-run mount -t proc -o noexec,nosuid,nodev proc /proc >/dev/null 2>&1
+mount -t proc -o noexec,nosuid,nodev proc /proc >/dev/null 2>&1
mount -o remount,rw / >/dev/null 2>&1
# Prevent superfluous printks from being printed to the console