Re: PATCH: scripts/package/mkspec

From: Wichert Akkerman (wichert_at_wiggy.net)
Date: 12/31/04

  • Next message: Russell King: "Re: PROBLEM: Kernel 2.6.10 crashing repeatedly and hard"
    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/
    

  • Next message: Russell King: "Re: PROBLEM: Kernel 2.6.10 crashing repeatedly and hard"

    Relevant Pages

    • Re: 2.6.12-mm1 cannot build nvidia driver?
      ... > something wrong with debian package ... You certainly want to try to upgrade to the 7664 drivers, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: GIT 0.99.8d
      ... I am not building via the debian package. ... sid (amd64) dropped libcurl3-dev and I did not add one of the other packages... ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)