[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



On Sat, Jul 27, 2019 at 11:19:06PM +0100, Ben Hutchings <ben@decadent.org.uk> wrote:
> > 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).

Well, I guess the phrase "all kernel versions known to update-initramfs"
is not very precise,e specially as it's not clear how to make kernel
versons known to it :)

> > 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"?

Not explicitly, but the result is that the file is not there when I run the
command.

The workaround in place now enumerates all installed kernel versions
explicitly via upsate-initramfs -c -k xxxx.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp@schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\


Reply to: