Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89444 - Add callback targets (e.g. for module rebuilds)
Summary: Add callback targets (e.g. for module rebuilds)
Status: RESOLVED DUPLICATE of bug 34921
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-17 12:09 UTC by Elias Probst
Modified: 2005-06-30 15:27 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 Elias Probst 2005-04-17 12:09:31 UTC
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.
Comment 1 Elias Probst 2005-06-30 15:27:27 UTC

*** This bug has been marked as a duplicate of 34921 ***