commit: 7c8515a1c53a988bfdc73b47c599d3df3e0354c8
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 6 20:13:06 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Aug 7 15:03:44 2019 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=7c8515a1
linuxrc: Remove dead code
This code shouldn't work (anymore) because $CHROOT is read-only at
this stage.
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
defaults/linuxrc | 5 -----
1 file changed, 5 deletions(-)
diff --git a/defaults/linuxrc b/defaults/linuxrc
index 6e01209..b2ac54e 100644
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -1255,11 +1255,6 @@ fi
cleanup
-good_msg "Booting (initramfs)"
-
-cd "${CHROOT}"
-mkdir "${CHROOT}/proc" "${CHROOT}/sys" "${CHROOT}/run" 2>/dev/null
-
# If devtmpfs is mounted, try move it to the new root
# If that fails, try to unmount all possible mounts of
# devtmpfs as stuff breaks otherwise