1 |
On Tue, 28 Jan 2014 21:29:21 +0200, Thanasis <thanasis@××××××××××.org> |
2 |
wrote: |
3 |
>Is there a way to specify that I want to install (emerge) the latest |
4 |
>3.10.X series of sys-kernel/gentoo-sources as a slot, in parallel with |
5 |
>the latest gentoo-sources? |
6 |
> |
7 |
>Currently, that would be version 3.10.28. |
8 |
>I know I can specify it like so, |
9 |
>emerge =sys-kernel/gentoo-sources-3.10.28 |
10 |
> |
11 |
>but then it would not get "auto-updated" when a newer version of that |
12 |
>series (for example 3.10.29) becomes available in portage. |
13 |
|
14 |
Afaik there is no configuration-only way to do this, but you can make |
15 |
it happen by adding your own virtual ebuilds in a local overlay[1], |
16 |
say virtual/thanasis-sources, then adding that to world. |
17 |
|
18 |
You can make one ebuild for each kernel-series you want, each in its |
19 |
own slot, using the =cat/pkg-3.10* syntax for RDEPEND. Find attached a |
20 |
(barely tested) suggestion for |
21 |
virtual/thanasis-sources/thanasis-sources-3.10.ebuild . One caveat, |
22 |
=cat/pkg-3.10* also matches cat/pkg-3.107.1, which could become an |
23 |
issue if you wanted, say, the 3.2 series. |
24 |
|
25 |
After setting up an overlay and adding the ebuild, you can add it to |
26 |
world with `emerge --select virtual/thanasis-sources:3.10`. |
27 |
|
28 |
To add a different kernel series, you should only need to rename/copy |
29 |
the ebuild in your overlay and add the new version/slot to world. |
30 |
|
31 |
|
32 |
[1]: https://wiki.gentoo.org/wiki/Overlay/Local_overlay |
33 |
|
34 |
-- |
35 |
eroen |