diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2020-01-18 16:13:11 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2020-01-18 18:36:00 +0000 |
commit | 897ab776458b85784a8c4ec366465c98d153d498 (patch) | |
tree | 25367e1f20038114f18d170d25c846594f15868b /update-initramfs.8 | |
parent | 00129773613c52129cb660e75904c900f16140d0 (diff) |
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 f39625a "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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'update-initramfs.8')
-rw-r--r-- | update-initramfs.8 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/update-initramfs.8 b/update-initramfs.8 index 1047965..b36fc57 100644 --- a/update-initramfs.8 +++ b/update-initramfs.8 @@ -35,10 +35,11 @@ This argument is optional for update. The default is the latest kernel version. The use of "all" for the .I version -string specifies +string specifies that .B update\-initramfs -to execute the chosen action for all installed kernel versions that already -have an initramfs. +should operate on all installed kernel versions (with \fB\-c\fR), or +on all installed kernel versions that already have an initramfs +(with \fB\-d\fR or \fB\-u\fR). .TP \fB\-c |