On Sun, 2014-07-06 at 22:25 +0200, Aurelien Jarno wrote:
> Hi,
> 
> I intend to add a new debconf template in the linux package, that will
> appear on mips/mipsel systems. As English is a foreign language for me
> I appreciate if some people can review it. Thanks in advance.
> 
> Best regards,
> Aurelien
> 
> 
> Index: debian/templates/image.plain.templates.in
> ===================================================================
> --- debian/templates/image.plain.templates.in (révision 21498)
> +++ debian/templates/image.plain.templates.in (copie de travail)
> @@ -36,3 +36,17 @@
>   .
>   It is highly recommended to abort the kernel removal unless you are
>   prepared to fix the system after removal.
> +
> +Template: 
> linux-image-@abiname@@localversion@/postinst/mips-initrd-@abiname@@localversion@
> +Type: note
> +_Description: Boot loader configuration must be updated
> + Historically MIPS kernels were compiled so that they can boot without
> + initrd (i.e. with disk and filesystem drivers built-in), as some bootloaders
> + did not support booting with an initrd. This isn't the case anymore, so this
> + image now uses initrd.
> + .
> + Your current kernel has been booted without initrd. Please make sure to
> + configure your bootloader to use initrd, otherwise there is a danger that
> + the system will fail to boot. Your system might still be able to boot
> + without initrd, but this likely won't be the case for the next versions
> + of this package.

This doesn't seem specific enough.  It also doesn't seem to accurately
report what's changing now - as far as I know, you haven't yet
modularised anything that was built-in.

I would write something like:

Boot loader configuration must be updated to load initramfs
 This kernel package will build an 'initramfs' file
 (/boot/initrd.img-@abiname@) that should be loaded by the boot loader
 in addition to the kernel itself.  The initramfs enables a more
 flexible boot process, and it is likely that future kernel versions
 will not boot without an initramfs.
 .
 The currently running kernel has been booted without an initramfs.
 You should reconfigure your boot loader to load the initramfs for
 Linux version @abiname@ and for each later version.

But I think that still needs improvement, for example to say clearly
that each kernel version needs its own initramfs.

Ben.

-- 
Ben Hutchings
Quantity is no substitute for quality, but it's the only one we've got.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to