Gentoo Archives: gentoo-genkernel

From: Peter Hjalmarsson <xake@×××××××××.net>
To: gentoo-genkernel@l.g.o
Subject: [gentoo-genkernel] [PULLREQUEST] Documentation cleanup and handling of init
Date: Tue, 24 Jul 2012 06:48:30
Message-Id: 1343112449.12435.21.camel@lillen.dodi
1 Hi all.
2
3 I just want to ask if we can pull branch xake into master.
4 What I am trying to achieve is for us to adhere more to the kernels
5 documentation of boot params [1] where there really is no reason for us
6 diverge.
7 Doing that has two big advantages:
8 1. The Gentoo Documentation team (and other gentoo-devs) does not need
9 to have two examples for bootloader configurations, one for people with
10 and one for people without a genkernel initramfs.
11 2. documentation from upstream and other distributions is more
12 applicable on us.
13
14
15 The branch currently contains two commits,
16 commit 2293c0eff00260635f9d19035d1b397c7deb3853 [2]
17 This is a cleanup of cruft left behind by commit
18 d5b1e6a9852b18010f24c2f47edfff5daa221cf1 [3] made back in 2008.
19
20 In short, since 2008 Genkernel have not supported creating traditional
21 linux-2.4 initrds, only linux-2.6 initramfs. Still the documentation
22 tells you that you:
23 1. Need RAMDISK-support
24 - not needed nowdays since initramfs, unlike initrd uses ramfs
25 instead of ramdisk.
26 2. Need real_root
27 - not needed since linux-2.6 does not need the information in "root="
28 to setup a ramdisk for the initrd.
29
30
31 commit 232c865cbff2ffbe41f3ba98c142959e5e61414a [4]
32 This more or less mirrors the handling of root/real_root boot params for
33 init/real_init
34
35 This because, just as for 2 above, we do not need the kernel to clobber
36 "init=" to boot a ramdisk since we stopped use initrds.
37
38
39 Regards
40 Peter Hjalmarsson
41
42
43 [1]
44 https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=Documentation/kernel-parameters.txt
45 [2]
46 http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=2293c0eff00260635f9d19035d1b397c7deb3853
47 [3]
48 http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=d5b1e6a9852b18010f24c2f47edfff5daa221cf1
49 [4]
50 http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=232c865cbff2ffbe41f3ba98c142959e5e61414a