diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-10-13 10:47:16 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-18 16:15:26 +0200 |
commit | 4b03b71a524f391951aac98bf9a04b7b66421cfd (patch) | |
tree | 2dad20fef86b40edd5e30d6bd5d2d170e9f20613 /documentation | |
parent | c2e2eb7667cdc9941c2a656d34b5cc4eca4be759 (diff) | |
download | poky-4b03b71a524f391951aac98bf9a04b7b66421cfd.tar.gz |
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>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 46 |
1 files changed, 8 insertions, 38 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 870c50b7c8..226faa1745 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -5408,44 +5408,14 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
5408 | <glossentry id='var-module_autoload'><glossterm>module_autoload</glossterm> | 5408 | <glossentry id='var-module_autoload'><glossterm>module_autoload</glossterm> |
5409 | <glossdef> | 5409 | <glossdef> |
5410 | <para> | 5410 | <para> |
5411 | Lists kernel modules that need to be auto-loaded during | 5411 | This variable has been replaced by the |
5412 | boot. | 5412 | <filename>KERNEL_MODULE_AUTOLOAD</filename> variable. |
5413 | </para> | 5413 | You should replace all occurrences of the |
5414 | 5414 | <filename>module_autoload</filename> variable with | |
5415 | <para> | 5415 | <filename>KERNEL_MODULE_AUTOLOAD</filename> variables. |
5416 | You can use this variable anywhere that it can be | 5416 | See the |
5417 | recognized by the kernel recipe or out-of-tree kernel | 5417 | <link linkend='var-KERNEL_MODULE_AUTOLOAD'><filename>KERNEL_MODULE_AUTOLOAD</filename></link> |
5418 | module recipe (e.g. a machine configuration file, a | 5418 | variable for a description of the variable. |
5419 | distribution configuration file, an append file for the | ||
5420 | recipe, or the recipe itself). | ||
5421 | </para> | ||
5422 | |||
5423 | <para> | ||
5424 | Specify it as follows: | ||
5425 | <literallayout class='monospaced'> | ||
5426 | module_autoload_<modname> = "modname1 modname2 modname3" | ||
5427 | </literallayout> | ||
5428 | You must use the kernel module name override. | ||
5429 | </para> | ||
5430 | |||
5431 | <para> | ||
5432 | Including <filename>module_autoload</filename> causes the | ||
5433 | OpenEmbedded build system to populate the | ||
5434 | <filename>/etc/modules-load.d/modname.conf</filename> | ||
5435 | file with the list of modules to be auto-loaded on boot. | ||
5436 | The modules appear one-per-line in the file. | ||
5437 | Here is an example of the most common use case: | ||
5438 | <literallayout class='monospaced'> | ||
5439 | module_autoload_modname = "modname" | ||
5440 | </literallayout> | ||
5441 | </para> | ||
5442 | |||
5443 | <para> | ||
5444 | For information on how to populate the | ||
5445 | <filename>modname.conf</filename> file with | ||
5446 | <filename>modprobe.d</filename> syntax lines, see the | ||
5447 | <link linkend='var-module_conf'><filename>module_conf</filename></link> | ||
5448 | variable. | ||
5449 | </para> | 5419 | </para> |
5450 | </glossdef> | 5420 | </glossdef> |
5451 | </glossentry> | 5421 | </glossentry> |