On Tue, 28 Jan 2014 21:29:21 +0200, Thanasis <thana...@asyr.hopto.org>
wrote:
>Is there a way to specify that I want to install (emerge) the latest
>3.10.X series of sys-kernel/gentoo-sources as a slot, in parallel with
>the latest gentoo-sources?
>
>Currently, that would be version 3.10.28.
>I know I can specify it like so,
>emerge =sys-kernel/gentoo-sources-3.10.28
>
>but then it would not get "auto-updated" when a newer version of that
>series (for example 3.10.29) becomes available in portage.

Afaik there is no configuration-only way to do this, but you can make
it happen by adding your own virtual ebuilds in a local overlay[1],
say virtual/thanasis-sources, then adding that to world.

You can make one ebuild for each kernel-series you want, each in its
own slot, using the =cat/pkg-3.10* syntax for RDEPEND. Find attached a
(barely tested) suggestion for
virtual/thanasis-sources/thanasis-sources-3.10.ebuild . One caveat,
=cat/pkg-3.10* also matches cat/pkg-3.107.1, which could become an
issue if you wanted, say, the 3.2 series.

After setting up an overlay and adding the ebuild, you can add it to
world with `emerge --select virtual/thanasis-sources:3.10`.

To add a different kernel series, you should only need to rename/copy
the ebuild in your overlay and add the new version/slot to world.


[1]: https://wiki.gentoo.org/wiki/Overlay/Local_overlay

-- 
eroen

Attachment: thanasis-sources-3.10.ebuild
Description: Binary data

Attachment: signature.asc
Description: PGP signature

Reply via email to