diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 30f497ab18..870c50b7c8 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" + KERNEL_MODULE_AUTOLOAD + + + Lists kernel modules that need to be auto-loaded during + boot. + + This variable replaces the deprecated + module_autoload + variable. + + + + + You can use the KERNEL_MODULE_AUTOLOAD + 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). + + + + Specify it as follows: + + KERNEL_MODULE_AUTOLOAD = "modname1 modname2 modname3" + + + + + Including KERNEL_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: + + KERNEL_MODULE_AUTOLOAD = "modname" + + + + + For information on how to populate the + modname.conf file with + modprobe.d syntax lines, see the + KERNEL_MODULE_PROBECONF + variable. + + + + KERNEL_MODULE_PROBECONF