Gentoo Archives: gentoo-user

From: Jonathan Callen <en.abcd@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Upgrading old kernel
Date: Thu, 30 Apr 2020 23:08:42
Message-Id: 8b8e8c58-562e-6624-28f2-7785451c5143@gmail.com
In Reply to: [gentoo-user] Re: Upgrading old kernel by Nikos Chantziaras
1 On 4/16/20 3:43 AM, Nikos Chantziaras wrote:
2 > On 16/04/2020 10:21, Ashley Dixon wrote:
3 >> On Thu, Apr 16, 2020 at 10:08:45AM +0300, Nikos Chantziaras wrote:
4 >>> There's also sys-kernel/gentoo-kernel but it's description is
5 >>> confusing as
6 >>> hell: "Linux kernel built with Gentoo patches". Which to me sounds
7 >>> exactly
8 >>> like gentoo-kernel-bin just with slightly different wording... :-/
9 >>
10 >> The difference can be seen in the ebuild source U.R.I.s:
11 >>          gentoo-kernel-bin:
12 >> https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/ \
13 >>                  sys-kernel/gentoo-kernel/${MY_P}.xpak
14 >>          gentoo-kernel: https://cdn.kernel.org/pub/linux/kernel/ ... +
15 >>                  patches from
16 >> https://dev.gentoo.org/~mpagano/dist/genpatches
17 >>
18 >> The wording is horrible, but as the suffix ("-bin") would suggest, the
19 >> former is
20 >> a binary  .xpak  package,  whereas  the  latter  is  base  kernel 
21 >> sources  with
22 >> additional Gentoo developers' patches.
23 >
24 > I still don't understand what that means. If it's a pre-built kernel,
25 > then it sounds the same as gentoo-kernel-bin. If it's sources, then it
26 > sounds the same as gentoo-sources.
27 >
28
29 It's neither. The package installs a kernel (not just sources for the
30 kernel), like gentoo-kernel-bin, but it does so by building it locally,
31 just like just about every other package that doesn't have a name ending
32 in "-bin". On the other hand, gentoo-kernel-bin downloads a precompiled
33 kernel and just installs it locally, not compiling anything. The
34 gentoo-sources package also doesn't compile anything, it just dumps some
35 source code on your system for you to compile outside of portage.
36
37 In short:
38 | Downloaded | Installed
39 ------------------+--------------+-------------
40 gentoo-sources | source code | source code
41 gentoo-kernel | source code | built kernel
42 gentoo-kernel-bin | built kernel | built kernel
43
44 --
45 Jonathan Callen

Attachments

File name MIME type
signature.asc application/pgp-signature