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

Re: New debconf template for the linux package



victory wrote:
> +Template: linux-image-@abiname@@localversion@/postinst/mips-initrd-@abiname@@localversion@
> +Type: note
> +_Description: Boot loader configuration must be updated to load initramfs
> + This kernel package will build an "initramfs" file
> + (/boot/initrd.img-@abiname@) for the boot loader to use in
> + addition to the kernel itself. This method, formerly unsupported
> + on MIPS, enables a more flexible boot process, and future kernel
> + versions may require a corresponding initrd.img to boot.
> + .
> + 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. To achieve that
> + you might use the initrd.img symlink created by this kernel.
                                                 ^^
It isn't strictly the kernel that creates the symbolic link, is it?

I know nothing about the MIPS boot loader (u-boot?), but if it is
already likely to be pointing at the kernel by way of a symlink,
maybe:

    The currently running kernel was booted without an initramfs. You
    should reconfigure the boot loader to load the initramfs for Linux
    version @abiname@, and for each later version. This is probably
    most easily accomplished by using the /initrd.img symbolic link
    maintained by the kernel package.

(Or if the links might be elsewhere, drop the leading /?)

Alternatively, if until now the bootloader has probably been pointing
directly at /boot/vmlinuz-*, maybe:

    The currently running kernel was booted without an initramfs. You
    should reconfigure the boot loader to load the initramfs for Linux
    version @abiname@, and for each later version. (This maintenance
    can be simplified by using the /vmlinuz and /initrd.img symbolic
    links maintained by the kernel package.)

Except that wait, does u-boot use /vmlinuz or a special uimage?  Is it
even u-boot I should be googling?  Oops, I'd better resend this CCing
the people who might be able to answer...
-- 
JBR	with qualifications in linguistics, experience as a Debian
	sysadmin, and probably no clue about this particular package


Reply to: