> -----Original Message-----
> From: Paul Eggleton [mailto:paul.eggle...@linux.intel.com]
> Sent: June 03, 2015 3:42 AM
> 
> 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?
> 

Hi Paul,

Overnight I deleted build/tmp and build/sstate-cache from my workspace
and rebuilt everything.

Then this morning I added the module to the packagegroup and rebuilt the image.
This time the .ko did show up in the rootfs.

So it seems there was some sort of gremlin lurking and now it's gone. I hope
for good.

Thanks for your help
MV
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to