Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165855 - feature request ; 2nd tier multiple kernel select for source dependant ebuilds
Summary: feature request ; 2nd tier multiple kernel select for source dependant ebuilds
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 03:09 UTC by Aaron Peterson
Modified: 2009-04-18 09:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?