Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564698 - autoselect kernel version (eselect) upgrading
Summary: autoselect kernel version (eselect) upgrading
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-02 13:56 UTC by Lagu
Modified: 2015-11-02 21:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
anycase emerge --info (emerge,21.45 KB, text/plain)
2015-11-02 13:57 UTC, Lagu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lagu 2015-11-02 13:56:59 UTC
Hi, here is a little problem when we have a update of a kernel, i'll explain this with a example:

i have installed 2 versions of kernels and the selected kernel is the hardened:

gentoo-sources-0
hardened-sources-0

now we have a update of gentoo-sources to version 1.
if we  upgrade this package the system automatically select gentoo sources in the eselect, so if we upgrade now the system kernel is gentoo-sources-1 instead of the hardened source.

the system don't most indentify what package select with the updates?


basically in a system with this caracts, with a update it only most change the system kernel when the update is from the same package of the selected kernel.
Comment 1 Lagu 2015-11-02 13:57:27 UTC
Created attachment 415942 [details]
anycase emerge --info
Comment 2 Tomáš Mózes 2015-11-02 19:55:46 UTC
Hi Lagu, check out the symlink use flag:
https://packages.gentoo.org/useflags/symlink

You probably don't want to randomly switch non-hardened/hardened sources. SO for the active kernel set the symlink use flag a disable it for the other one. That way your updates will stay consistent.
Comment 3 Lagu 2015-11-02 20:14:16 UTC
that is right, its an option, but the problem don't is solved, that is more like a temporary patch, i don't thing i'm the only with more than one kernel sources, its more a practically thing, i suppose the symlink option most works ideally with all ppl...
Comment 4 Tomáš Mózes 2015-11-02 21:08:05 UTC
Only the symlink use flag changes the /usr/src/linux system "automatically", apart from that it's your manual job to select the best kernel for your system.