[yocto] How to disable module auto-loading

Nicolas Salmin nicolas_salmin at trimble.com
Tue Mar 27 01:18:28 PDT 2018


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 ?

Cheers,
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180327/70951071/attachment.html>


More information about the yocto mailing list