On Tue, Mar 27, 2018 at 10:18:28AM +0200, Nicolas Salmin wrote:
> Hello all,
> 
> I would like to know the better way to disable module auto-loading ?
> 
> I tried to create /etc/modprobe.d/blacklist.conf but as /etc/modprobe.d
> doesn't exist on my rootfs i think is not a good solution.
> 
> I have tested also with  *KERNEL_MODULE_AUTOLOAD -= "module.name
> <http://module.name>"* and
> *KERNEL_MODULE_AUTOLOAD_remove = "module.name <http://module.name>"*
> 
> Last solution will be pass *modprobe.blacklist=module.name
> <http://module.name>* in cmd line.
> 
> So in your opinion, which is the better way to do that ?

KERNEL_MODULE_AUTOLOAD_remove should work, check with bitbake -e to
confirm that it was correctly applied.

It's also possible to blacklist it with:

module_conf_<module-name> = "blacklist <module-name>"

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: martin.ja...@gmail.com

Attachment: signature.asc
Description: Digital signature

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to