Messages in this thread | | | Date | Fri, 31 Dec 2004 11:48:59 +0100 | From | Wichert Akkerman <> | Subject | Re: PATCH: scripts/package/mkspec |
| |
Previously Kevin Fenzi wrote: > So, after installing the kernel rpm it checks for /sbin/mkinitrd and > makes an initrd file for the newly installed kernel rpm. It also > checks for a /sbin/new-kernel-package command and runs it on the new > kernel if it exists to add the new kernel/initrd to grub/lilo.
Why not use the same system as the Debian package uses? That runs everything in /etc/kernel/postinst.d/ after installing and everything in /etc/kernel/prerm.d/ before removing a package.
That is much more flexible than hardcoding something like mkinitrd or new-kernel-package: it works on all architectures and gives the administratie full freedom to hook into things.
Wichert.
-- Wichert Akkerman <wichert@wiggy.net> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |