Hi Markus,

> same result with the core-image-base.
>
> It seems that depmod is not run before building the image/modules in the
> deploy folder. I have a custom kernel recipes. How can I make bitbake to
> run depmod -a on the rootfs?
>
> My recipes inherits kernel
>
> and requires
>
> recipes-kernel/linux/linux-yocto.inc
>
>
Ok, in this case you want to use

 module_autoload_<modname> = "modname1 modname2 modname3"

in your kernel recipe (or distro or machine configuration which is
actually preferable). For example

module_autoload_smsc95xx = "smsc95xx"

The module-split class should pick it up and add the module to
/etc/modules-load.d/modname.conf.

Cheers,

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

Reply via email to