[DRAFT v2] Policy for Linux kernel, initramfs, boot loader update process
Ben Hutchings
ben at decadent.org.uk
Sat Aug 7 02:54:35 UTC 2010
On Fri, 2010-08-06 at 08:20 +0200, Guillem Jover wrote:
> Hi!
>
> On Sun, 2010-07-04 at 18:48:20 +0100, Ben Hutchings wrote:
> > 0. The arguments given to all kernel hook scripts are the kernel ABI
> > version (the string that uname -r reports) and, optionally, the absolute
> > path to the kernel image. If the second argument is missing then the
> > path is either /boot/vmlinuz-$version or /boot/vmlinux-$version,
> > according to architecture convention. The environment variable
> > DEB_MAINT_PARAMS will contain the arguments given to the kernel
> > maintainer script, possibly single-quoted. In a shell script, this
> > variable can be parsed using 'set -- $DEB_MAINT_PARAMS'.
>
> This should probably be 'eval set -- "$DEB_MAINT_PARAMS"' instead, or
> the single quotes will not be stripped, neither any possible spaces
> will be correctly preserved.
You're quite right. I've just fixed this in the Kernel Handbook.
> It seems from my system at least grub2 will need fixing.
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100807/04e5a58c/attachment.pgp>
More information about the Pkg-grub-devel
mailing list