* [gentoo-user] emerge kernel? @ 2005-09-25 10:46 Alexander Kirillov 2005-09-25 11:15 ` Peter Ruskin ` (2 more replies) 0 siblings, 3 replies; 8+ messages in thread From: Alexander Kirillov @ 2005-09-25 10:46 UTC (permalink / raw To: gentoo-user Hi! Is there a way to list all ebuilds which need to be remerged after kernel upgrade? Would be nice to have a special emerge target for this very thing to happen automatically. Sasha -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] emerge kernel? 2005-09-25 10:46 [gentoo-user] emerge kernel? Alexander Kirillov @ 2005-09-25 11:15 ` Peter Ruskin 2005-09-25 12:00 ` Alexander Kirillov 2005-09-26 1:30 ` Octavio Ruiz (Ta^3) 2005-09-26 6:59 ` Alexander Kirillov 2 siblings, 1 reply; 8+ messages in thread From: Peter Ruskin @ 2005-09-25 11:15 UTC (permalink / raw To: gentoo-user On Sunday 25 September 2005 11:46, Alexander Kirillov wrote: > Hi! > Is there a way to list all ebuilds which need to be remerged > after kernel upgrade? Would be nice to have a special emerge > target for this very thing to happen automatically. > Sasha emerge -v $( equery b /lib/modules | sed -e 's:^:>=:' ) -- Peter ======================================================================== Gentoo Linux: Portage 2.0.51.22-r2. kernel-2.6.13-gentoo-r1. i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.3.5-20050130. KDE: 3.4.2. Qt: 3.3.4. ======================================================================== -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] emerge kernel? 2005-09-25 11:15 ` Peter Ruskin @ 2005-09-25 12:00 ` Alexander Kirillov 2005-09-25 12:43 ` Holly Bostick 2005-09-25 15:18 ` Neil Bothwick 0 siblings, 2 replies; 8+ messages in thread From: Alexander Kirillov @ 2005-09-25 12:00 UTC (permalink / raw To: gentoo-user >>Is there a way to list all ebuilds which need to be remerged >>after kernel upgrade? Would be nice to have a special emerge >>target for this very thing to happen automatically. > > emerge -v $( equery b /lib/modules | sed -e 's:^:>=:' ) Thanks Peter, Found a module I forgot to rebuild using equery b /lib/modules:) On the other hand splashutils need to be remerged sometimes afaik. And vmware drivers. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] emerge kernel? 2005-09-25 12:00 ` Alexander Kirillov @ 2005-09-25 12:43 ` Holly Bostick 2005-09-25 15:18 ` Neil Bothwick 1 sibling, 0 replies; 8+ messages in thread From: Holly Bostick @ 2005-09-25 12:43 UTC (permalink / raw To: gentoo-user Alexander Kirillov schreef: >>> Is there a way to list all ebuilds which need to be remerged >>> after kernel upgrade? Would be nice to have a special emerge >>> target for this very thing to happen automatically. >> >> >> emerge -v $( equery b /lib/modules | sed -e 's:^:>=:' ) > > > Thanks Peter, Found a module I forgot to rebuild using equery b > /lib/modules:) On the other hand splashutils need to be remerged > sometimes afaik. And vmware drivers. > Yes, I noticed that, too-- when I last tried Peter's command after a kernel update, I surprisingly got x11-xorg as a result (which was good), but not the ati-drivers, iirc, and also not splashutils (which, as you say, does sometimes need re-emerging, though I haven't quite figured out what precisely is the trigger, and I don't use vmware). I meant to ask about that, because while the command does seem to catch some modules that I didn't know needed to be re-emerged when upgrading the kernel, it seems to miss some that I know do, but I don't know enough about the issue to know why. Holly -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] emerge kernel? 2005-09-25 12:00 ` Alexander Kirillov 2005-09-25 12:43 ` Holly Bostick @ 2005-09-25 15:18 ` Neil Bothwick 2005-09-25 18:20 ` Alexander Kirillov 1 sibling, 1 reply; 8+ messages in thread From: Neil Bothwick @ 2005-09-25 15:18 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 752 bytes --] On Sun, 25 Sep 2005 16:00:03 +0400, Alexander Kirillov wrote: > Found a module I forgot to rebuild using equery b /lib/modules:) > On the other hand splashutils need to be remerged sometimes afaik. > And vmware drivers. VMWare doesn't need to be re-emerged after a kernel upgrade, but you need to run vmware-config again. Because the kernel modules are not installed by portage, but created by vmware-config, the equery command won't pick them up. It picks up all modules that belong to a package, and thus weren't installed by the kernel configuration and the vmware modules don't belong to a package :( -- Neil Bothwick deja vous - the act of forgetting someone's name /again/ despite being introduced to them several times. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] emerge kernel? 2005-09-25 15:18 ` Neil Bothwick @ 2005-09-25 18:20 ` Alexander Kirillov 0 siblings, 0 replies; 8+ messages in thread From: Alexander Kirillov @ 2005-09-25 18:20 UTC (permalink / raw To: gentoo-user >>Found a module I forgot to rebuild using equery b /lib/modules:) >>On the other hand splashutils need to be remerged sometimes afaik. >>And vmware drivers. > > VMWare doesn't need to be re-emerged after a kernel upgrade, but you need > to run vmware-config again. Because the kernel modules are not installed > by portage, but created by vmware-config, the equery command won't pick > them up. It picks up all modules that belong to a package, and thus > weren't installed by the kernel configuration and the vmware modules > don't belong to a package :( There could be a wrapper ebuild around vmware-config which would register the modules. But of course this is more of a wish than a necessity. Probably some day portage will handle this sort of dependencies. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] emerge kernel? 2005-09-25 10:46 [gentoo-user] emerge kernel? Alexander Kirillov 2005-09-25 11:15 ` Peter Ruskin @ 2005-09-26 1:30 ` Octavio Ruiz (Ta^3) 2005-09-26 6:59 ` Alexander Kirillov 2 siblings, 0 replies; 8+ messages in thread From: Octavio Ruiz (Ta^3) @ 2005-09-26 1:30 UTC (permalink / raw To: gentoo-user Alexander Kirillov, who happens to be smarter than you, thinks: > Hi! > Is there a way to list all ebuilds which need to be remerged after > kernel upgrade? Would be nice to have a special emerge target for this > very thing to happen automatically. > Sasha You may want to take a look at 'sys-kernel/module-rebuild' (A utility to rebuild any kernel modules which you have installed.) :-) -- for ARTIFICIAL FLAVORING!! -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] emerge kernel? 2005-09-25 10:46 [gentoo-user] emerge kernel? Alexander Kirillov 2005-09-25 11:15 ` Peter Ruskin 2005-09-26 1:30 ` Octavio Ruiz (Ta^3) @ 2005-09-26 6:59 ` Alexander Kirillov 2 siblings, 0 replies; 8+ messages in thread From: Alexander Kirillov @ 2005-09-26 6:59 UTC (permalink / raw To: gentoo-user Thanks for your help guys, Peter's method works just fine for me. Sasha -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-09-26 7:04 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-09-25 10:46 [gentoo-user] emerge kernel? Alexander Kirillov 2005-09-25 11:15 ` Peter Ruskin 2005-09-25 12:00 ` Alexander Kirillov 2005-09-25 12:43 ` Holly Bostick 2005-09-25 15:18 ` Neil Bothwick 2005-09-25 18:20 ` Alexander Kirillov 2005-09-26 1:30 ` Octavio Ruiz (Ta^3) 2005-09-26 6:59 ` Alexander Kirillov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox