systemd/SOURCES/1194-man-kernel-install-mention-entry-type-option-in-the-.patch

40 lines
1.6 KiB
Diff

From 756f152c2a8671711fa44de39401a328a97ce345 Mon Sep 17 00:00:00 2001
From: Li Tian <litian@redhat.com>
Date: Fri, 18 Jul 2025 09:18:17 +0800
Subject: [PATCH] man/kernel-install: mention --entry-type= option in the man
page
Signed-off-by: Li Tian <litian@redhat.com>
(cherry picked from commit a87b6c2c5a59561d79f40b166b416545449108db)
Resolves: RHEL-83932
---
man/kernel-install.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/man/kernel-install.xml b/man/kernel-install.xml
index 4d91b7b20b..4b4360ed7f 100644
--- a/man/kernel-install.xml
+++ b/man/kernel-install.xml
@@ -174,6 +174,19 @@
<para>The following options are understood:</para>
<variablelist>
+ <varlistentry>
+ <term><option>--entry-type=type1|type2|all</option></term>
+ <listitem>
+ <para>
+ Controls the type of entries handled by the command. This is typically useful when multiple types
+ of boot entries with the same kernel version are installed, and only one should be removed. When
+ <literal>type1</literal> or <literal>type2</literal> is specified, each plugin is invoked with
+ <varname>$KERNEL_INSTALL_BOOT_ENTRY_TYPE</varname> environment variable with the specified
+ value. When <literal>all</literal> is specified, the environment variable will not be set.
+ Defaults to <literal>all</literal>.
+ </para>
+ </listitem>
+ </varlistentry>
<varlistentry>
<term><option>-v</option></term>
<term><option>--verbose</option></term>