diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-10-13 10:38:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-18 16:15:26 +0200 |
commit | c2e2eb7667cdc9941c2a656d34b5cc4eca4be759 (patch) | |
tree | 55b104c20fcf8ca71dc05b6285221348cd88076a | |
parent | d6c0a7d5406c3bfb79edca25e2194569b393cfa9 (diff) | |
download | ast2050-yocto-poky-c2e2eb7667cdc9941c2a656d34b5cc4eca4be759.zip ast2050-yocto-poky-c2e2eb7667cdc9941c2a656d34b5cc4eca4be759.tar.gz |
ref-manual: Added new KERNEL_MODULE_AUTOLOAD variable.
Added this description to the variables glossary.
(From yocto-docs rev: 3da322f92d5028e96422e0c1f5df78b285f2355e)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 30f497a..870c50b 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -4434,6 +4434,56 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" </glossdef> </glossentry> + <glossentry id='var-KERNEL_MODULE_AUTOLOAD'><glossterm>KERNEL_MODULE_AUTOLOAD</glossterm> + <glossdef> + <para> + Lists kernel modules that need to be auto-loaded during + boot. + <note> + This variable replaces the deprecated + <link linkend='var-module_autoload'><filename>module_autoload</filename></link> + variable. + </note> + </para> + + <para> + You can use the <filename>KERNEL_MODULE_AUTOLOAD</filename> + variable anywhere that it can be + recognized by the kernel recipe or by an 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'> + KERNEL_MODULE_AUTOLOAD = "modname1 modname2 modname3" + </literallayout> + </para> + + <para> + Including <filename>KERNEL_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'> + KERNEL_MODULE_AUTOLOAD = "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-KERNEL_MODULE_PROBECONF'><filename>KERNEL_MODULE_PROBECONF</filename></link> + variable. + </para> + </glossdef> + </glossentry> + <glossentry id='var-KERNEL_MODULE_PROBECONF'><glossterm>KERNEL_MODULE_PROBECONF</glossterm> <glossdef> <para> |