#include <hallo.h> * Sean Finney [Tue, Mar 15 2005, 08:49:42PM]: > hi eduard, > > it would be really nice if m-a provided some way to detect when a new > kernel has been installed (or is running), build the installed > module-source packages into debs, and install them. a couple ways i > could think of doing this: > > - - an init script (similar to dell's dklm system) that detects that > modules have not been built for the running kernel > > - - a hook in the kernel package images that runs m-a when new kernels > are installed > > i personally like the first idea better than the second, as it's more > generic, and will work with non debianized kernels. you could also do > it during the bootup sequence before x/network/foo started, ensuring > as little disruption as possible. > > what do you think?
Feasible. I have just implemented some things to make upgrades more smooth (with unpacking and recompilation only when and where it's needed). Detection of the kernel is a short step than - as you said, either with an init script (which will simply that stuff, see non-interactive-auto-update.sh example in the next version of m-a (will upload it RSN). Or triggered by something in kernel packages or the modules packages, then lurking in the background (like update-menus does, for example), and when dpkg terminates, get the future kernel version from the /vmlinuz symlink and rebuild the modules. However, I prefer to discuss that on debian-devel first, others may have better ideas. Regards, Eduard. -- Sinclair: Ready? Delenn: Why is it that your people always ask someone if they are ready right before you are about to do something massively unwise? Sinclair: Tradition. -- Quotes from Babylon 5 -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]