diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 22b8f2e03e..b869bc91a1 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -5344,8 +5344,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" module_conf - Specifies modprobe.d syntax lines - for inclusion in the + Specifies + modprobe.d + syntax lines for inclusion in the /etc/modprobe.d/modname.conf file. @@ -5355,19 +5356,23 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" module recipe (e.g. a machine configuration file, a distribution configuration file, an append file for the recipe, or the recipe itself). + If you use this variable, you must also be sure to list + the module name in the + KERNEL_MODULE_PROBECONF + variable. Here is the general syntax: - module_conf_<modname> = "modprobe.d-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 + find out more information on the exact syntax you want to provide with module_conf. @@ -5376,9 +5381,11 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" OpenEmbedded build system to populate the /etc/modprobe.d/modname.conf file with modprobe.d syntax lines. - Here is an example: + Here is an example that adds the options + arg1 and arg2 + to a module named mymodule: - module_conf_<modname> = "options modname arg1=val1 arg2=val2" + module_conf_mymodule = "options mymodule arg1=val1 arg2=val2"