Re: PATCH: scripts/package/mkspec
From: Wichert Akkerman (wichert_at_wiggy.net)
Date: 12/31/04
- Previous message: Georg C. F. Greve: "Re: PROBLEM: Kernel 2.6.10 crashing repeatedly and hard"
- In reply to: Kevin Fenzi: "PATCH: scripts/package/mkspec"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Dec 2004 11:48:59 +0100 To: Kevin Fenzi <kevin@tummy.com>
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/
- Previous message: Georg C. F. Greve: "Re: PROBLEM: Kernel 2.6.10 crashing repeatedly and hard"
- In reply to: Kevin Fenzi: "PATCH: scripts/package/mkspec"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|