Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/
Date: Wed, 07 Aug 2019 15:46:17
Message-Id: 1565190224.7c8515a1c53a988bfdc73b47c599d3df3e0354c8.whissi@gentoo
1 commit: 7c8515a1c53a988bfdc73b47c599d3df3e0354c8
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 6 20:13:06 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 7 15:03:44 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=7c8515a1
7
8 linuxrc: Remove dead code
9
10 This code shouldn't work (anymore) because $CHROOT is read-only at
11 this stage.
12
13 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
14
15 defaults/linuxrc | 5 -----
16 1 file changed, 5 deletions(-)
17
18 diff --git a/defaults/linuxrc b/defaults/linuxrc
19 index 6e01209..b2ac54e 100644
20 --- a/defaults/linuxrc
21 +++ b/defaults/linuxrc
22 @@ -1255,11 +1255,6 @@ fi
23
24 cleanup
25
26 -good_msg "Booting (initramfs)"
27 -
28 -cd "${CHROOT}"
29 -mkdir "${CHROOT}/proc" "${CHROOT}/sys" "${CHROOT}/run" 2>/dev/null
30 -
31 # If devtmpfs is mounted, try move it to the new root
32 # If that fails, try to unmount all possible mounts of
33 # devtmpfs as stuff breaks otherwise