ref-manual: Updated the module_autoload variable.

This variable has been replaced by the KERNEL_MODULE_AUTOLOAD
variable.  I updated the description to note that and to provide
a cross-reference to the new variable.

(From yocto-docs rev: 8b2f464f7d100db1c585ccc62d7cab89f7f7b164)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2014-10-13 10:47:16 -07:00
committed by Richard Purdie
parent c2e2eb7667
commit 4b03b71a52

View File

@@ -5408,44 +5408,14 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<glossentry id='var-module_autoload'><glossterm>module_autoload</glossterm>
<glossdef>
<para>
Lists kernel modules that need to be auto-loaded during
boot.
</para>
<para>
You can use this variable anywhere that it can be
recognized by the kernel recipe or out-of-tree kernel
module recipe (e.g. a machine configuration file, a
distribution configuration file, an append file for the
recipe, or the recipe itself).
</para>
<para>
Specify it as follows:
<literallayout class='monospaced'>
module_autoload_&lt;modname&gt; = "modname1 modname2 modname3"
</literallayout>
You must use the kernel module name override.
</para>
<para>
Including <filename>module_autoload</filename> causes the
OpenEmbedded build system to populate the
<filename>/etc/modules-load.d/modname.conf</filename>
file with the list of modules to be auto-loaded on boot.
The modules appear one-per-line in the file.
Here is an example of the most common use case:
<literallayout class='monospaced'>
module_autoload_modname = "modname"
</literallayout>
</para>
<para>
For information on how to populate the
<filename>modname.conf</filename> file with
<filename>modprobe.d</filename> syntax lines, see the
<link linkend='var-module_conf'><filename>module_conf</filename></link>
variable.
This variable has been replaced by the
<filename>KERNEL_MODULE_AUTOLOAD</filename> variable.
You should replace all occurrences of the
<filename>module_autoload</filename> variable with
<filename>KERNEL_MODULE_AUTOLOAD</filename> variables.
See the
<link linkend='var-KERNEL_MODULE_AUTOLOAD'><filename>KERNEL_MODULE_AUTOLOAD</filename></link>
variable for a description of the variable.
</para>
</glossdef>
</glossentry>