[yocto] How to include kernel module without including the kernel in the rootfs?

Patrick Doyle wpdster at gmail.com
Thu Apr 10 08:32:40 PDT 2014


I just added a custom kernel module to my build, and now my rootfs
includes a copy of my kernel (thus making it too large to fit in my
pinhole sized root partition).

Is there any way to prevent the kernel from being included in the
rootfs?  Do modutils require a kernel image in order to function
properly?

My recipe contains

inherit module

So I'm expecting that the module class does magic that results in the
kernel getting installed.

Is there a flag I can set to say "Don't do that?".

Thanks.

--wpd



More information about the yocto mailing list