Gentoo Archives: gentoo-user

From: WooHyung Jeon <dev@××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: sys-kernel/gentoo-sources vs. sys-kernel/gentoo-kernel vs. sys-kernel/gentoo-kernel-bin
Date: Tue, 21 Apr 2020 21:19:10
Message-Id: 027fa689-86f4-2768-fde5-975d6f9f0b4c@whjeon.com
In Reply to: Re: [gentoo-user] Re: sys-kernel/gentoo-sources vs. sys-kernel/gentoo-kernel vs. sys-kernel/gentoo-kernel-bin by Consus
1 On 2020-04-22 오전 1:48, Consus wrote:
2 > On Tue, Apr 21, 2020 at 06:33:05PM +0300, Nikos Chantziaras wrote:
3 >> On 21/04/2020 18:05, Gerion Entrup wrote:
4 >>> what is the difference between these three packages? I don't get it from the description alone.
5 >>>
6 >>> gentoo-sources: A linux kernel source tree with Gentoo patchset
7 >>> gentoo-kernel-bin: A linux kernel binary image with initramfs?
8 >>> gentoo-kernel: ???
9 >>
10 >> This is what Mike Pagano (who maintains gentoo-sources and is part of
11 >> Gentoo's kernel team) had to say:
12 >>
13 >>> Gentoo-sources is the upstream kernel with our patches on top.
14 >>> They could include experimental patches (use=experimental),
15 >>> or fixes that have not made it into the mainline upstream kernel.
16 >>>
17 >>> If you have something you might want in gentoo-sources, all it
18 >>> takes is a bug and some discussion and if it makes sense we usually will
19 >>> include it.
20 >>>
21 >>> Gentoo-sources is under the umbrella of the Gentoo Kernel Team.
22 >>>
23 >>> gentoo-kernel is a project done by a developer outside of the kernel team.
24 >>> I believe his goal was to provide a kernel with a sane default config
25 >>> that should generally work for everyone. It looks like it uses the
26 >>> config file from Arch Linux. The kernel project is not involved with
27 >>> that.
28 >>> I think (it's not my work), the idea is like when you install Ubuntu or some other
29 >>> distro where they try to make a kernel with a config covering a ton of stuff so
30 >>> you don't have to compile your own.
31 >>
32 >> Unfortunately he didn't say anything about gentoo-kernel-bin. So... no idea.
33 >
34 > Package gentoo-kernel is the source package. It contains kernel source
35 > code + default usable config and builds you a new kernel during emerge.
36 > gentoo-kernel-bin contains prebuilt kernel image without any source
37 > code.
38 >
39
40 I have two questions.
41
42 First, how much different between the gentoo-kernel-bin's '.config', and
43 gentoo-kernel's '.config'? I mean, is it quite similarly big to cover
44 most of the normal devices?
45
46 Second, how about adding these simple description in the handbook, in
47 the section 'Configuring the Linux kernel'. Then, the new-comers can
48 read and understand the differences and can choose what fits for them.
49
50 Thanks.
51
52 --
53 Regards,
54 W. H. Jeon

Replies