[yocto] No network at startup using core-image-minimal

Rudolf Streif rstreif at linuxfoundation.org
Tue Aug 12 09:56:08 PDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140812/2297883e/attachment.html>


More information about the yocto mailing list