Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 83258

Summary: Genkernel needs post-build, post-reboot scripting of packages to emerge
Product: Gentoo Linux Reporter: Jeff Kowalczyk <jeff.kowalczyk>
Component: Current packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED INVALID    
Severity: enhancement CC: mike
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeff Kowalczyk 2005-02-24 21:03:23 UTC
After I build a new kernel with genkernel and reboot, I need to emerge several hardware-related packages. For example, I run:

LIRC_OPTS="--with-x --with-driver=hauppauge --with-major=61 --with-port=none --with-irq=none" emerge nvidia-kernel nvidia-glx lirc ivtv

It would be very helpful to have a standard configuration file as part of genkernel that could be called uniformly across machines. Something like:

genkernel --postconfig all

which would run a configured list of emerges, along with an optional command prefix, as above.

Reproducible: Always
Steps to Reproduce:
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-02-25 04:49:26 UTC
man genkernel -- The --callback option is already there.
Comment 2 Mike Nerone 2008-04-27 23:47:37 UTC
Incidentally, I think what Jeff was asking for was something to automatically recompile packages that install kernel modules. This functionality is covered by sys-kernel/module-rebuild, which was created just a few weeks after this bug.