[yocto] Kernel module not installed in rootfs

Paul Eggleton paul.eggleton at linux.intel.com
Wed Jun 3 00:42:15 PDT 2015


On Tuesday 02 June 2015 19:58:50 Vuille, Martin wrote:
> Yocto 1.6.1
> 
> I have added a module to my kernel.
> 
> The module is getting built, I see a kernel-module-blah-blah RPM
> and it contains the .ko
> 
> I add kernel-module-blah-blah to one of the packagegroups
> contained in my image, I see do_rootfs task run, but the module
> is not in the image. In log.do_rootfs I see that the module is NOT
> one of the packages installed.
> 
> I did a cleansstate on the image and the packagegroup, I did a
> cleanall on virtual/kernel, makes no difference.
> 
> If I do a "clean build" from scratch, then the module is installed.
> 
> Any thoughts on what I'm missing here?

Something is definitely strange here.

If you cleansstate and rebuild the packagegroup *after* building the kernel 
with the module in it, does that make a difference?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list