Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32852 - genkernel - please track and rebuild external modules that will get erased
Summary: genkernel - please track and rebuild external modules that will get erased
Status: RESOLVED LATER
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Bob Johnson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-05 23:55 UTC by Scott Taylor (RETIRED)
Modified: 2004-03-08 14:04 UTC (History)
2 users (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 Scott Taylor (RETIRED) gentoo-dev 2003-11-05 23:55:23 UTC
It would be nice if genkernel would rebuild any package that installed something into the lib/modules/...kernel.../ path. The most obvious example is "xfree-drm" which must be re-emerged not just after installing a new kernel, but any time a kernel is recompiled. Perhaps a good way to do this would be effectively a "qpkg -f" on all files in the /lib/modules tree (before make mrproper) and rebuilding the appropriate packages. Or at the very least, identify all packages that will have files cleared out and list them at the end, or interactively prompt for each package before genkernel finishes. Or make a backup copy of such libraries before building the kernel, copying them back after the build and running depmod on them to make sure they didn't depend on a kernel module that no longer exists... It is easy to forget to rebuild packages that have just plain been there and working.
Comment 1 Bob Johnson (RETIRED) gentoo-dev 2003-11-16 07:22:37 UTC
This will be added in some fashion, maybe
just reading a /etc/kernel/kernel-packages file to start with, then
well see about automagically doing it.
Comment 2 Keith Lea 2003-12-01 10:31:10 UTC
I would like this too. It can be hard to remember which packages you have to remerge.