[yocto] How to disable module auto-loading
Martin Jansa
martin.jansa at gmail.com
Tue Mar 27 02:12:01 PDT 2018
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.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180327/5f072a78/attachment.pgp>
More information about the yocto
mailing list