[PATCH] Cleaning up the kernel postinst script

Reinhard Tartler siretart at ubuntu.com
Mon Aug 24 09:40:56 UTC 2009


Matt Zimmerman <mdz at ubuntu.com> writes:

> 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.?

I don't see significant differences, but they have simplicity in
mind. debian/changelog and debian/control is generated automatically,
the revision counter of the debian revision is autoincremented on each
build, modules are included in the binary package, but a source package
is never created.

Most work on these scripts seem to come from debian developers (fjp and
maks, AFAIUI).

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




More information about the kernel-team mailing list