Re: PATCH: scripts/package/mkspec
From: Wichert Akkerman
Date: Fri Dec 31 2004 - 05:50:29 EST
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@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/