Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 165855

Summary: feature request ; 2nd tier multiple kernel select for source dependant ebuilds
Product: Gentoo Hosted Projects Reporter: Aaron Peterson <alpeterson>
Component: eselectAssignee: Gentoo eselect Team <eselect>
Status: RESOLVED NEEDINFO    
Severity: enhancement CC: jakub
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aaron Peterson 2007-02-08 03:09:16 UTC
I would like to be able to keep a couple of old kernels around, and have my nvidia drivers still work on them.

Basically, when there is a new kernel out - I upgrade to it. Sometimes it doesn't work, or my config is messed up and I have to go back to an old kernel.  My nvidia drivers may have been updated, and then are built for the new kernel, and so  X doesn't work for the old kernel, until I (use xorg driver) .. or swithc that symlink over to the old sourcde tree and build nvidia drivers again.  Basically, this feature would

just keep a list of kernels to keep arround, usefull for programs that require source, so I can say eselect kernel software-build-extra 1 2 3

and ebuilds could optionally use this feature to emerge the software twice (actually emerge would have this feature, ebuilds wouldn't have to be changed)  and have that software be built multiple times, so I don't have to go back and manually do all this stuff again.

-AP


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-08 05:10:26 UTC
(In reply to comment #0)
> I would like to be able to keep a couple of old kernels around, and have my
> nvidia drivers still work on them.

And you can't now? How so?

> so I can say eselect kernel software-build-extra 1 2 3

emerge sys-kernel/module-rebuild and use it? You want a eselect module to manage a /usr/src/linux symlink? What a horrible overengineering.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-08 05:51:08 UTC
for i in 1 2 3; do eselect kernel set ${i}; module-rebuild rebuild; done

Someone plz. close this bug :)
Comment 3 Ulrich Müller gentoo-dev 2009-04-18 09:42:42 UTC
(In reply to comment #2)
> for i in 1 2 3; do eselect kernel set ${i}; module-rebuild rebuild; done
> 
> Someone plz. close this bug :)

Resolved as NEEDINFO. "module-rebuild" should do all what is needed, or have I missed something?