Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #64599

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

From Marc Lehmann <schmorp@schmorp.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#926401: initramfs-tools: update-initramfs -k all -c does not create initrd images anymore
Date 2019-07-29 02:00 +0200
Message-ID <yp1f4-7nW-9@gated-at.bofh.it> (permalink)
References <xJahX-1KI-3@gated-at.bofh.it> <yoDmp-Ao-9@gated-at.bofh.it> <xJahX-1KI-3@gated-at.bofh.it> <yoDmp-Ao-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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
      -=====/_/_//_/\_,_/ /_/\_\

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#926401: initramfs-tools: update-initramfs -k all -c does not create initrd images anymore Marc Lehmann <debian-reportbug@plan9.de> - 2019-04-04 15:10 +0200
  Bug#926401: initramfs-tools: update-initramfs -k all -c does not create initrd images anymore Ben Hutchings <ben@decadent.org.uk> - 2019-07-28 00:30 +0200
    Bug#926401: initramfs-tools: update-initramfs -k all -c does not create initrd images anymore Marc Lehmann <schmorp@schmorp.de> - 2019-07-29 02:00 +0200
      Bug#926401: initramfs-tools: update-initramfs -k all -c does not create initrd images anymore Ben Hutchings <ben@decadent.org.uk> - 2019-07-31 16:40 +0200
  Processed: Re: initramfs-tools: update-initramfs -k all -c does  not create initrd images anymore "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-07-28 00:30 +0200
  Bug#926401: initramfs-tools: update-initramfs -k all -c does not create initrd images anymore Ben Hutchings <ben@decadent.org.uk> - 2019-08-01 19:40 +0200
    Bug#926401: initramfs-tools: update-initramfs -k all -c does not create initrd images anymore Marc Lehmann <schmorp@schmorp.de> - 2019-08-02 17:50 +0200
  Bug#926401: marked as done (initramfs-tools: update-initramfs -k  all -c does not create initrd images anymore) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-01-18 20:50 +0100

csiph-web