summaryrefslogtreecommitdiff
path: root/man/kernel-install.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-11-04 08:40:58 -0400
committerLennart Poettering <lennart@poettering.net>2016-11-04 06:40:58 -0600
commitc4c50112ecc549e839582586d435dc170455c91b (patch)
tree80999ce0f57be4ae4e217011cc13070ea4e624a9 /man/kernel-install.xml
parentcf88547034d72e0c43e880b89d36643befc54bb9 (diff)
man: update kernel-install(8) to match reality (#4563)
Diffstat (limited to 'man/kernel-install.xml')
-rw-r--r--man/kernel-install.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/man/kernel-install.xml b/man/kernel-install.xml
index 4a8a46cef4..99b7970457 100644
--- a/man/kernel-install.xml
+++ b/man/kernel-install.xml
@@ -89,11 +89,12 @@
<listitem>
<para><command>kernel-install</command> creates the directory
<filename>/boot/<replaceable>MACHINE-ID</replaceable>/<replaceable>KERNEL-VERSION</replaceable>/</filename>
- and calls every executable
+ and calls executables from
<filename>/usr/lib/kernel/install.d/*.install</filename> and
<filename>/etc/kernel/install.d/*.install</filename> with
the arguments
- <programlisting>add <replaceable>KERNEL-VERSION</replaceable> <filename>/boot/<replaceable>MACHINE-ID</replaceable>/<replaceable>KERNEL-VERSION</replaceable>/</filename></programlisting>
+ <programlisting>add <replaceable>KERNEL-VERSION</replaceable> \
+ <filename>/boot/<replaceable>MACHINE-ID</replaceable>/<replaceable>KERNEL-VERSION</replaceable>/</filename> <replaceable>KERNEL-IMAGE</replaceable></programlisting>
</para>
<para>The kernel-install plugin <filename>50-depmod.install</filename> runs depmod for the <replaceable>KERNEL-VERSION</replaceable>.</para>
@@ -119,7 +120,7 @@
<varlistentry>
<term><command>remove <replaceable>KERNEL-VERSION</replaceable></command></term>
<listitem>
- <para>Calls every executable <filename>/usr/lib/kernel/install.d/*.install</filename>
+ <para>Calls executables from <filename>/usr/lib/kernel/install.d/*.install</filename>
and <filename>/etc/kernel/install.d/*.install</filename> with the arguments
<programlisting>remove <replaceable>KERNEL-VERSION</replaceable> <filename>/boot/<replaceable>MACHINE-ID</replaceable>/<replaceable>KERNEL-VERSION</replaceable>/</filename></programlisting>
</para>
@@ -138,7 +139,7 @@
<refsect1>
<title>Exit status</title>
- <para>If every executable returns with 0, 0 is returned, a non-zero failure code otherwise.</para>
+ <para>If every executable returns 0 or 77, 0 is returned, and a non-zero failure code otherwise.</para>
</refsect1>
<refsect1>