man: document /usr/lib/modules/ paths as recommend copy source for kernel-install

This commit is contained in:
Lennart Poettering 2023-11-06 12:03:03 +01:00
parent 758d14767d
commit 35f58f8c36

View file

@ -674,6 +674,31 @@
<xi:include href="version-info.xml" xpointer="v255"/>
</listitem>
</varlistentry>
<varlistentry>
<term><filename>/usr/lib/modules/<replaceable>KERNEL-VERSION/</replaceable></filename></term>
<listitem>
<para>Location for installed kernel modules and other kernel related resources. For each locally
installed kernel a directory named after the kernel version (<command>uname -r</command>) is
kept.</para>
<xi:include href="version-info.xml" xpointer="v255"/>
</listitem>
</varlistentry>
<varlistentry>
<term><filename>/usr/lib/modules/<replaceable>KERNEL-VERSION/vmlinuz</replaceable></filename></term>
<listitem>
<para>Location for installed kernel images. This is the recommended location for OS package
managers to install kernel images into (as applicable), from which <command>kernel-install
add</command> then copies it into the final boot partition.</para>
<xi:include href="version-info.xml" xpointer="v255"/>
</listitem>
</varlistentry>
</variablelist>
<para>For various cases listed above, if the <varname>$KERNEL_INSTALL_CONF_ROOT</varname> environment