1 |
On 6/19/19 11:27 AM, Grant Taylor wrote: |
2 |
> On 6/19/19 11:37 AM, Vadim A. Misbakh-Soloviov wrote: |
3 |
>> echo '>sys-kernel/gentoo-sources-4.15' >> |
4 |
>> /etc/portage/package.mask/kernels |
5 |
> |
6 |
> Perfect! |
7 |
> |
8 |
> Thank you. :-) |
9 |
> |
10 |
> I did name the file /etc/portage/package.mask/gentoo-sources as I like |
11 |
> to name the file after the package that it's meant to effect. |
12 |
> |
13 |
> The testing is even better than I had originally hoped. |
14 |
> gentoo-sources-4.14.127.ebuild came in since I did my updates a few days |
15 |
> ago. So now emerge is telling me there is a new version of |
16 |
> gentoo-sources, that is within my specified parameters. :-) |
17 |
> |
18 |
> |
19 |
> |
20 |
|
21 |
I was thinking about this for a bit, and thought that maybe adding the |
22 |
slot to the package in /var/lib/portage/world would work. |
23 |
|
24 |
So, using `emerge --select` and `emerge --deselect` I set up my world |
25 |
file this way: |
26 |
|
27 |
# grep -i gentoo-sources /var/lib/portage/world |
28 |
sys-kernel/gentoo-sources:4.14.105-r1 |
29 |
sys-kernel/gentoo-sources:4.14.114 |
30 |
sys-kernel/gentoo-sources:4.14.83 |
31 |
|
32 |
I removed all other kernel packages manually so only those three are |
33 |
installed. |
34 |
|
35 |
However, portage still wants to install the latest gentoo-sources, even |
36 |
though the generic "sys-kernel/gentoo-sources" is absent from the world |
37 |
file. |
38 |
|
39 |
I figured this would be a way to manually update the kernel without |
40 |
having to manually add and remove masks. Darn. |
41 |
|
42 |
That's not how I'd expect portage to handle that situation (or maybe |
43 |
it's just me?) Can a dev chime in? |
44 |
|
45 |
Dan |