View previous topic :: View next topic |
Author |
Message |
kcy29581 Apprentice


Joined: 04 Nov 2004 Posts: 284 Location: England
|
Posted: Mon Apr 04, 2005 5:13 pm Post subject: stuff linked to the kernel |
|
|
Hi all,
when I update the kernel, I need to remember to re-emerge stuff that was linked to the previous kernel (say, ALSA modules/drivers and stuff)
Is there a way for Gentoo/portage to tell me EVERYTHING I need to re-emerge after updating/installing a new kernel? Or do I have to rely on memory, or write everything down on paper? _________________ There is no spoon...
Oh, and it's WINDOWS not Winblowz for those who can't spell |
|
Back to top |
|
 |
moocha Watchman

Joined: 21 Oct 2003 Posts: 5722
|
Posted: Mon Apr 04, 2005 6:12 pm Post subject: |
|
|
Currently there's no automatic way to check for packages providing kernel modules, sorry. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
 |
RuiP l33t


Joined: 15 Jan 2005 Posts: 643
|
Posted: Mon Apr 04, 2005 6:20 pm Post subject: |
|
|
hi
by update u mean Code: | emerge -u gentoo-sources ? |
that won't update your kernel, only kernel sources.
You have to compile then that new one.
Usually a plain copy of the .config of the old one is enough to get the new one compiled ok,
and that will do the modules you got linked (and inside) to the previous |
|
Back to top |
|
 |
moocha Watchman

Joined: 21 Oct 2003 Posts: 5722
|
Posted: Mon Apr 04, 2005 6:59 pm Post subject: |
|
|
No, kcy29581 doesn't mean that, he meant packages that place files in the current kernel's module directory.
Come to think of it, there is a semi-automatic way to do it. Make sure you've got the app-portage/gentoolkit package installed, and run Code: | equery belongs /lib/modules/$(uname -r) | That will identify packages that have placed files under the module directory of the currently running kernel. You will have to provide the full path to the old kernel module directory if that's not what you want, such as /lib/modules/2.6.11-gentoo1 or whatnot.
You can't use qpkg to do this since qpkg doesn't handle directories. equery belongs does. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
 |
RuiP l33t


Joined: 15 Jan 2005 Posts: 643
|
Posted: Mon Apr 04, 2005 7:43 pm Post subject: Re: stuff linked to the kernel |
|
|
oh, i see...
kcy29581 said
kcy29581 wrote: | when I update the kernel, |
i taked as un update kernel version
sorry kcy29581  |
|
Back to top |
|
 |
kcy29581 Apprentice


Joined: 04 Nov 2004 Posts: 284 Location: England
|
Posted: Mon Apr 04, 2005 8:19 pm Post subject: |
|
|
Thanks for your replies all! Is this a feature that is under development right now, or is it just a wish?
RuiP, don't worry! I shoul've phrased it better!
moocha, thanks for your answer, thats a cool method! _________________ There is no spoon...
Oh, and it's WINDOWS not Winblowz for those who can't spell |
|
Back to top |
|
 |
|