On Tuesday 28 November 2006 16:26, James wrote: > Alan McKinnon <alan <at> linuxholdings.co.za> writes: > > You might want to emerge module-rebuild to help with such things in > > future. It tracks which ebuilds install kenrel modules that need to > > be rebuilt, and rebuilds them all with one command. So you still > > have to remember to run it after a kernel upgrade, but at least it > > removes the resulting hassle if you forget about one of the > > packages > > Ahhh, > > But does it detect kernel changes and pop itself into the list when > one runs some like 'emerge -uDp ' ???
I've never looked into the ebuilds to see how they manage it, but the on-screen output shows lines saying things like "registering self with module-update" or words to that effect. So I suppose the answer to your question is yes. You can also use "module-rebuild add" to add stuff manually and "module-rebuild populate" to automatically find relevant modules the first time > That's what's needed is both a list of what to rebuild and an > automated reminder. I have so many gentoo systems running now, it's > difficult for my _tiny_little_brain to remember what I did, where and > when..... You only need to update them after new kernel installation and maybe after recompiling a kernel. You should always know when you update a kernel 'coz you do it maually right? :-) So then remember to run module-update as well. With some man page reading you may event find a hook out of genkernel to do it automatically (but I never bothered researching if this is even possible) alan -- [email protected] mailing list

