I had an idea to improve genkernel... this is a copy'n paste of an email, which should show you all necessary things.. Greetings Elias P. Well, you should already be able to do that with something like genkernel [options] --callback="emerge nvidia-kernel pcmcia-cs" which will run the selected command after the kernel is built... The best way to get this working would probably to make an /etc/genkernel.conf option for MODULES_REBUILD and genkernel would run a callback so you don't have to specify the option on the command line every time... Mind filing a feature request bug about this on http://bugs.gentoo.org? Thanks. Elias Probst wrote: > Hi plasmaroo. > Looks like you're the genkernel developer.. I've got an idea how to improve > genkernel a little more. Why not including the possibility, to re-emerge > kernel-modules, that we lose by compiling a new kernel, like "nvidia-kernel", > "pcmcia-cs" "alsa-driver" and so on... > Using this bash-line you'll get a list of all packages, already formatted in a > way portage should understand, that have to be recompiled: > > PACKAGES=$(for i in `find /lib/modules/$(uname -r) -name '*.ko'`; do qpkg -nc > -f $i; done|cut -d\ -f1|sort -u) > > Would be nice to see this feature in one of the next genkernel releases. > Thx & Greetings > > Elias P.
*** This bug has been marked as a duplicate of 34921 ***