Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220723 - emerge target like 'world' and 'system' for kernel modules
Summary: emerge target like 'world' and 'system' for kernel modules
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-07 10:40 UTC by Alexander Wright
Modified: 2008-05-07 13:52 UTC (History)
0 users

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 Alexander Wright 2008-05-07 10:40:00 UTC
After a kernel upgrade I'd like a simple command to re-emerge any packages that install kernel modules. Something like:

emerge kernel-modules

This would rebuild nvidia-drivers, media-video/gspcav1, and any other packages that install kernel modules.

Reproducible: Always
Comment 1 Dustin Polke 2008-05-07 11:37:59 UTC
Try module-rebuild. This is exactly what you are looking for.

BR,
Dustin
Comment 2 Dustin Polke 2008-05-07 11:39:30 UTC
I forgot to mention, the package is in sys-kernel category and needs to be emerged first:

# emerge sys-kernel/module-rebuild
Comment 3 Hong Hao 2008-05-07 13:30:40 UTC
(In reply to comment #0)
> After a kernel upgrade I'd like a simple command to re-emerge any packages that
> install kernel modules. Something like:
> 
> emerge kernel-modules
> 
> This would rebuild nvidia-drivers, media-video/gspcav1, and any other packages
> that install kernel modules.
> 
> Reproducible: Always
> 


You could make your own package sets in portage-2.2, just like system and world.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2008-05-07 13:43:11 UTC
see first comment
Comment 5 Alexander Wright 2008-05-07 13:52:05 UTC
Cheers for your help!

emerge sys-kernel/module-rebuild does the job.