Re: Policy for Linux kernel, initramfs, boot loader update process

2010-07-17 Thread Daniel Baumann
On 07/17/2010 10:44 PM, Daniel Baumann wrote: > fyi: extlinux in the next upload (in two days when the previous one has > migrated) will fully complains to the policy. s/complains/comply/ -- Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist Email: daniel.baum...@panth

Re: Policy for Linux kernel, initramfs, boot loader update process

2010-07-17 Thread Daniel Baumann
On 07/17/2010 04:55 AM, Ben Hutchings wrote: > The new policy is published at > . This > policy will affect packages of the Linux kernel, initramfs builders boot > loaders, and the debian-installer. fyi: extlinux in the next upload (i

Policy for Linux kernel, initramfs, boot loader update process

2010-07-16 Thread Ben Hutchings
Linux kernel packages for Debian have historically had complex maintainer scripts which can invoke the initramfs builder and/or a boot loader, based on a mixture of file tests, explicit configuration through the file /etc/initramfs.conf and debconf questions. Starting with Debian 6.0, this should b

[DRAFT v2] Policy for Linux kernel, initramfs, boot loader update process

2010-07-04 Thread Ben Hutchings
I think this incorporates all the comments and corrections for the previous version. Please send follow-ups to debian-kernel, and subscribe to it if you haven't already done so. Ben. --- 0. The arguments given to all kernel hook scripts are the kernel ABI version (the string that uname -r report

Re: [DRAFT] Policy for Linux kernel, initramfs, boot loader update process

2010-06-28 Thread Ben Hutchings
On Mon, 2010-06-28 at 18:45 +0200, maximilian attems wrote: [...] > please get your facts right before spamming the world. Max, this is rude and unjustified. Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse. signature.asc Description: This is a digital

Re: [DRAFT] Policy for Linux kernel, initramfs, boot loader update process

2010-06-28 Thread Ben Hutchings
Please reply to debian-kernel only. On Mon, 2010-06-28 at 11:16 -0400, Stephen Powell wrote: > On Sun, 27 Jun 2010 22:02:35 -0400 (EDT), Ben Hutchings wrote: [...] > > The environment variable DEB_MAINT_PARAMS will contain > > the arguments given to the kernel maintainer script, single-quoted. >

Re: [DRAFT] Policy for Linux kernel, initramfs, boot loader update process

2010-06-28 Thread Ben Hutchings
On Mon, 2010-06-28 at 22:19 +, Colin Watson wrote: > On Mon, Jun 28, 2010 at 03:02:35AM +0100, Ben Hutchings wrote: > > 1. Packages for boot loaders that need to be updated whenever the files > > they load are modified (i.e. those that store a block list) must install > > hook scripts in /etc/k

Re: [DRAFT] Policy for Linux kernel, initramfs, boot loader update process

2010-06-28 Thread Colin Watson
On Mon, Jun 28, 2010 at 03:02:35AM +0100, Ben Hutchings wrote: > 1. Packages for boot loaders that need to be updated whenever the files > they load are modified (i.e. those that store a block list) must install > hook scripts in /etc/kernel/postinst.d and /etc/kernel/postrm.d, which > will be call

Re: [DRAFT] Policy for Linux kernel, initramfs, boot loader update process

2010-06-28 Thread Stephen Powell
On Mon, 28 Jun 2010 12:45:10 -0400 (EDT), maximilian attems wrote: > On Mon, 28 Jun 2010 03:02:35 +0100 Ben Hutchings wrote: >> The arguments given to all kernel hook scripts are the kernel ABI >> version (the string that uname -r reports) and the absolute path to the >> kernel image. > On Mon, Jun

Re: [DRAFT] Policy for Linux kernel, initramfs, boot loader update process

2010-06-28 Thread maximilian attems
On Mon, Jun 28, 2010 at 11:16:58AM -0400, Stephen Powell wrote: > > --- > > 1. Packages for boot loaders that need to be updated whenever the files > > they load are modified (i.e. those that store a block list) must install > > hook scripts in /etc/kernel/postinst.d and /etc/kernel/postrm.d, which

Re: [DRAFT] Policy for Linux kernel, initramfs, boot loader update process

2010-06-28 Thread Joachim Wiedorn
Hello William, perhaps you have read the recent email from Ben (see below). It would be important to update the lilo package to support these recent requirements to prepare LILO for Squeeze before it will get stable. Do you have the intention to update the lilo package to integrate some scripts f

Re: [DRAFT] Policy for Linux kernel, initramfs, boot loader update process

2010-06-28 Thread Stephen Powell
I took the liberty of adding debian-boot and debian-s390 to the CC list on this e-mail, since it affects the Debian installer and the s390-tools package, which contains the zipl boot loader, which has a design very similar to that of lilo. If this results in some people getting more than one copy

Re: [DRAFT] Policy for Linux kernel, initramfs, boot loader update process

2010-06-28 Thread maximilian attems
On Mon, 28 Jun 2010, Ben Hutchings wrote: > 2. Packages for boot loaders that need to be updated whenever the files > they load are modified must also install hook scripts in > /etc/mkinitramfs/post-update.d. Initramfs builders must call these > scripts using run-parts after they create, update o

[DRAFT] Policy for Linux kernel, initramfs, boot loader update process

2010-06-27 Thread Ben Hutchings
I propose the following policy for squeeze and later releases. This affects all Linux kernel, initramfs builder and boot loader packages, and the installer. I regret that this is happening so late in the release cycle, but currently a kernel update can easily leave the system unbootable and this