Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #967391
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| 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-31 16:40 +0200 |
| Message-ID | <ypXVL-2rY-1@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <yoDmp-Ao-9@gated-at.bofh.it> <xJahX-1KI-3@gated-at.bofh.it> <yp1f4-7nW-9@gated-at.bofh.it> <xJahX-1KI-3@gated-at.bofh.it> <yp1f4-7nW-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
On Mon, 2019-07-29 at 01:38 +0200, Marc Lehmann wrote: > 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 :) I updated this wording in the latest version, to properly describe the current behaviour. > > > 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. I think I'll change "-k all -c" to do that. This is not exactly the same as the old behaviour, because kernel packages may explicitly disable initramfs generation during installation and initramfs-tools used to remember that. But I think it won't be too surprising that "-k all -c" really applies to all installed kernel versions in future. Ben. -- Ben Hutchings You can't have everything. Where would you put it?
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
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
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
csiph-web