Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: emerge latest in a certain version series of a package
Date: Wed, 29 Jan 2014 13:51:10
Message-Id: 52E90740.9060908@gmail.com
In Reply to: [gentoo-user] Re: emerge latest in a certain version series of a package by James
1 On 29/01/2014 15:23, James wrote:
2 > Alan McKinnon <alan.mckinnon <at> gmail.com> writes:
3 >
4 >
5 >>>>> Is there a way to specify that I want to install (emerge) the latest
6 >>>>> 3.10.X series of sys-kernel/gentoo-sources as a slot, in parallel with
7 >>>>> the latest gentoo-sources?
8 >
9 >> that won't work as each kernel ebuild is in it's own unique slot
10 >> consisting of one and only one kernel version. I doubt the kernel team
11 >> are going to change that.
12 >> What you are asking is fundamentally not possible as slots are used in a
13 >> very incompatible way with your idea.
14 >
15 >
16 > Hmmmmm.
17 > There might be a work around that suites your needs?
18 >
19 >
20 >
21 > # emerge -pv =gentoo-sources-3.10.28
22 >
23 > These are the packages that would be merged, in order:
24 >
25 > Calculating dependencies... done!
26 > [ebuild NS ~] sys-kernel/gentoo-sources-3.10.28:3.10.28 [3.10.25:3.10.25,
27 > 3.13.0-r1:3.13.0-r1] USE="-build -deblob -experimental -symlink" 557 kB
28 >
29 > Total: 1 package (1 in new slot), Size of downloads: 557 kB
30 >
31 >
32 > Does that work for you?
33 >
34 > (Note: I also have this in my package.keywords:
35 > sys-kernel/gentoo-sources)
36
37 Ah but there's a catch to that.
38
39 3.10.28 is ~arch, so if you keyword it and don't mask later versions,
40 you get 3.13.0-r1 when updating world.
41
42 The OP wants automagic installation of sources when 3.10.28-r1 or
43 3.10.29 comes around, and portage don't do that.
44
45 For kernels, we're supposed to examine kernels closely, make a decision
46 and install sources for the very specific version of our choice. The
47 only automagic is for the very very latest of whatever arch we run
48
49
50
51
52 --
53 Alan McKinnon
54 alan.mckinnon@×××××.com