From 7e30874db2d230cc2d1901b92c99b074a3181c03 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 10 Apr 2014 08:05:37 -0700 Subject: ref-manual: added module_autoload and module_conf variables. Fixes [YOCTO #5888] Two new variables added to the glossary. These help with specifying kernel modules that need to auto-load on boot and with specifying module.d syntax in the modname.conf file. (From yocto-docs rev: 1ac544c4f6129faafea10691b426cd510ff56a69) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 93 ++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) (limited to 'documentation/ref-manual') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 46a9de9856..59ce7136ee 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -4655,6 +4655,99 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + module_autoload + + + Lists kernel modules that need to be auto-loaded during + boot. + + + + You can use this variable anywhere (e.g. machine + configuration file or a distribution configuration file) + including an append file for an + out-of-tree kernel module recipe. + + + + Specify it as follows: + + module_autoload_<modname> = "modname1 modname2 modname3" + + You must use the kernel module name override. + + + + Including module_autoload causes the + OpenEmbedded build system to populate the + /etc/modules-load.d/modname.conf + 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: + + module_autoload_modname = "modname" + + + + + For information on how to populate the + modname.conf file with + modprobe.d syntax lines, see the + module_conf + variable. + + + + + module_conf + + + Specifies modprobe.d syntax lines + for inclusion in the + /etc/modprobe.d/modname.conf file. + + + + You can use this variable anywhere (e.g. machine + configuration file or a distribution configuration file) + including an append file for an + out-of-tree kernel module recipe. + + + + Here is the general syntax: + + module_conf_<modname> = "modprobe.d-syntax" + + You must use the kernel module name override. + + + + Run man modprobe.d in the shell to + find out more information on the exact syntax for lines + you want to provide with module_conf. + + + + Including module_conf causes the + OpenEmbedded build system to populate the + /etc/modprobe.d/modname.conf + file with modprobe.d syntax lines. + Here is an example: + + module_conf_<modname> = "options modname arg1=val1 arg2=val2" + + + + + For information on how to specify kernel modules to + auto-load on boot, see the + module_autoload + variable. + + + + MODULE_IMAGE_BASE_NAME -- cgit v1.2.3-54-g00ecf