Skip to content

Commit c4c5011

Browse files
keszybzpoettering
authored andcommitted
man: update kernel-install(8) to match reality (systemd#4563)
1 parent cf88547 commit c4c5011

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

man/kernel-install.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,12 @@
8989
<listitem>
9090
<para><command>kernel-install</command> creates the directory
9191
<filename>/boot/<replaceable>MACHINE-ID</replaceable>/<replaceable>KERNEL-VERSION</replaceable>/</filename>
92-
and calls every executable
92+
and calls executables from
9393
<filename>/usr/lib/kernel/install.d/*.install</filename> and
9494
<filename>/etc/kernel/install.d/*.install</filename> with
9595
the arguments
96-
<programlisting>add <replaceable>KERNEL-VERSION</replaceable> <filename>/boot/<replaceable>MACHINE-ID</replaceable>/<replaceable>KERNEL-VERSION</replaceable>/</filename></programlisting>
96+
<programlisting>add <replaceable>KERNEL-VERSION</replaceable> \
97+
<filename>/boot/<replaceable>MACHINE-ID</replaceable>/<replaceable>KERNEL-VERSION</replaceable>/</filename> <replaceable>KERNEL-IMAGE</replaceable></programlisting>
9798
</para>
9899

99100
<para>The kernel-install plugin <filename>50-depmod.install</filename> runs depmod for the <replaceable>KERNEL-VERSION</replaceable>.</para>
@@ -119,7 +120,7 @@
119120
<varlistentry>
120121
<term><command>remove <replaceable>KERNEL-VERSION</replaceable></command></term>
121122
<listitem>
122-
<para>Calls every executable <filename>/usr/lib/kernel/install.d/*.install</filename>
123+
<para>Calls executables from <filename>/usr/lib/kernel/install.d/*.install</filename>
123124
and <filename>/etc/kernel/install.d/*.install</filename> with the arguments
124125
<programlisting>remove <replaceable>KERNEL-VERSION</replaceable> <filename>/boot/<replaceable>MACHINE-ID</replaceable>/<replaceable>KERNEL-VERSION</replaceable>/</filename></programlisting>
125126
</para>
@@ -138,7 +139,7 @@
138139

139140
<refsect1>
140141
<title>Exit status</title>
141-
<para>If every executable returns with 0, 0 is returned, a non-zero failure code otherwise.</para>
142+
<para>If every executable returns 0 or 77, 0 is returned, and a non-zero failure code otherwise.</para>
142143
</refsect1>
143144

144145
<refsect1>

0 commit comments

Comments
 (0)