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

Bug#926401: initramfs-tools: update-initramfs -k all -c does not create initrd images anymore



Control: tag -1 moreinfo

On Thu, 04 Apr 2019 15:05:57 +0200 Marc Lehmann <debian-reportbug@plan9.de> wrote:
> Package: initramfs-tools
> Version: 0.130
> Severity: normal
> 
> Dear Maintainer,
> 
> between versions 0.130 and 0.133 the behaviour of update-initramfs -k all
> -c changes considerably. In 0.130, this command would generate initrd
> images for all kernels, in 0.133, it is a nop.

Not quite.  In older versions, "-k all" would apply to every initramfs
image that initramfs-tools remembered generating (as recorded in
/var/lib/initramfs-tools).

> The reason is that get_sorted_versions now only lists kernels with
> existing initrd images, which makes the -c option somewhat useless.

Yes, though I can't see how the previous behaviour was useful either. 
Do you delete existing initramfs images, using something other than
"update-initramfs -d", before you run "update-initramfs -k all -c"?

> At least in our case this created unbootable systems after an upgrade to
> buster.

Ben.
 
-- 
Ben Hutchings
Lowery's Law:
        If it jams, force it. If it breaks, it needed replacing anyway.

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


Reply to: