[PATCH] Cleaning up the kernel postinst script

Matt Zimmerman mdz at ubuntu.com
Mon Aug 24 08:07:28 UTC 2009


On Fri, Aug 21, 2009 at 10:12:10AM +0200, Reinhard Tartler wrote:
> Matt Zimmerman <mdz at ubuntu.com> writes:
> > On Thu, Aug 20, 2009 at 08:02:58AM -0600, Tim Gardner wrote:
> >> It seems like something one _really_ wants to get correct.
> >
> > Indeed, so the simpler the better, in my book.
> 
> The upstream kernel is able to create debian packages using 'make
> deb-pkg' from the main makefiles. These .deb's postinst script have as single
> functionality to run scripts in /etc/kernel/{pre,post}{inst,rm}.d/.

Neat, I didn't know that.  Are they significantly different from ours in
terms of the filesystem layout, package control fields, etc.?

> End of march this year there was some discussion in debian to make
> bootloaders, initramfs-tools, etc. drop its installation scripts in that
> directory and let them deal with making the new kernel bootable:
> 
> http://thread.gmane.org/gmane.linux.debian.devel.kernel/46349
> 
> I'm not sure if there have been concrete results of it, it seems to me
> the thread died out.

This certainly sounds worth exploring.

-- 
 - mdz




More information about the kernel-team mailing list