Skip to content
Snippets Groups Projects
Commit 897ab776 authored by Ben Hutchings's avatar Ben Hutchings
Browse files

update-initramfs: Make "-c -k all" options useful again


"update-initramfs -c -k all" used to re-create initramfs images if
they had been deleted without using "update-initramfs -d", as it used
the state directory to determine which kernel versions should have
them.

Since commit f39625af "update-initramfs: Make "-k all" take over other
initramfs images", it ignores the state directory and is almost
equivalent to "update-initramfs -u -k all".

Change it to operate on all installed kernel versions.  This will
ignore which kernel versions suppressed initramfs generation, but
I think it's reasonable to assume users won't use these options
if they have installed such kernels.

Closes: #926401
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 00129773
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment