[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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.

It seems from my system at least grub2 will need fixing.

regards,
guillem


Reply to: