[yocto] Multiple MACHINEs and DISTROs: When to use own build dir, SSTATE_DIR, DL_DIR ?

Richard Purdie richard.purdie at linuxfoundation.org
Mon Jun 10 04:41:42 PDT 2019


On Mon, 2019-06-10 at 00:11 +0200, Ulf Samuelsson wrote:
> Den 2019-05-09 kl. 11:56, skrev Burton, Ross:
> > On Thu, 9 May 2019 at 10:47, Fabian Knapp <knapp at ambibox.de 
> > <mailto:knapp at ambibox.de>> wrote:
> > 
> >     we have multiple MACHINEs and DISTROs and Im wondering for
> > which
> >     combinations I have to setup a dedicated build dir, SSTATE_DIR
> > and
> >     DL_DIR.
> > 
> >     Information in the form of:
> > 
> >     Each (change of) MACHINE needs its dedicated SSTATE_DIR and
> > build
> >     dir but can share DL_DIR.
> > 
> > 
> > You can always share DL_DIR and SSTATE_DIR.
> > 
> > Ross
> > 
> When you have the same machine, and the recipes have variants
> which are DISTRO dependent the SSTATE_DIR can be messed up
> 
> We never digged deep enough to find the cause,
> but when we separated the SSTATE to only have one DISTRO
> in the same SSTATE, the problem disappeared.

The system is designed to work sharing DISTROs within sstate. If there
is a problem I would very much like to see the issue investigated and
fixed and can help with that.

Any such problems that have been filed in the bugzilla have been
addressed and there haven't really need any for quite a while.

Cheers,

Richard




More information about the yocto mailing list