[yocto] populate_sysroot and sstate question

Richard Purdie richard.purdie at linuxfoundation.org
Wed Mar 25 06:51:22 PDT 2015


On Wed, 2015-03-25 at 13:33 +0000, Vuille, Martin (Martin) wrote:
> > From: Richard Purdie [mailto:richard.purdie at linuxfoundation.org]
> > Sent: March 25, 2015 9:09 AM
> > 
> > On Tue, 2015-03-24 at 22:22 +0000, Vuille, Martin (Martin) wrote:
> > > Is there a better way to suppress populate_sysroot without breaking
> > > setscene?
> > 
> > Define an empty sysroot_stage_dirs function.
> > 
> 
> Thanks Richard, but I still get the same error, see below. Perhaps I misunderstood
> your instructions.
> 
> I did a cleansstate on the package, added the empty function to the recipe
> 
> 	do_populate_sysroot () {
> 	}
> 
> 	sysroot_stage_dirs() {
> 	}

Just define the empty sysroot_stage_dirs, not populate_sysroot. The
stage_dirs function handles copying files so if its empty, no files will
be copied in.

Cheers,

Richard




More information about the yocto mailing list