aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-03-13 17:58:53 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-03-14 20:33:29 +0100
commit90d2a28d3d589ba6eb1c1c54b2d12715be1e2673 (patch)
treefe7ddb9e35c614e1ebe66c8baf0952c10e926b0c /defaults/linuxrc
parentinitrd.scripts: bootstrapFS(): Create /dev/tty0 (diff)
downloadgenkernel-90d2a28d3d589ba6eb1c1c54b2d12715be1e2673.tar.gz
genkernel-90d2a28d3d589ba6eb1c1c54b2d12715be1e2673.tar.bz2
genkernel-90d2a28d3d589ba6eb1c1c54b2d12715be1e2673.zip
linuxrc: Don't delete /linuxrc
It's not clear why this was ever added via commit c4e37560598d4dc59ef3619084f3822df71e8aef. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'defaults/linuxrc')
-rw-r--r--defaults/linuxrc5
1 files changed, 0 insertions, 5 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc
index 222dd35..1c051bc 100644
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -57,11 +57,6 @@ gk_ver="$(cat /etc/build_id)"
gk_build_date="$(cat /etc/build_date)"
kernel_ver="$(uname -r)"
-if [ "$0" = '/init' ]
-then
- [ -e /linuxrc ] && run rm /linuxrc
-fi
-
CMDLINE=$(cat /proc/cmdline)
# Scan CMDLINE for any specified real_root= or cdroot arguments
FAKE_ROOT=''