[yocto] [meta-yocto][PATCH] poky.conf: Use weaker assignment for PREMIRROR

Paul Eggleton paul.eggleton at linux.intel.com
Tue Apr 2 23:56:22 PDT 2013


On Tuesday 02 April 2013 23:44:06 Khem Raj wrote:
> On Apr 2, 2013, at 11:41 PM, Paul Eggleton <paul.eggleton at linux.intel.com> 
wrote:
> > I'm not sure this is a path we should be going down; potentially we could
> > end up having to use ??= for just about everything.
> 
> whats is downside of using ??= instead of ?=

The volume of changes to the config that this will require, a minor memory 
usage increase (I suspect), but more importantly it increases the complexity 
for the end user. Right now ??= is used sparingly.

> > Wouldn't you be better off using your own separate distro config (perhaps
> > copying poky.conf instead of "require"ing it) and then the user can just
> > set it with "=" ?
> 
> yes. however you are then always on lookout for changes happening in poky
> policies then you need to mimic in your distro config

Wouldn't it be the reverse at the moment? We do add new things to the poky 
distro config when we need to test them and those new things might not be 
desirable in your configuration.

Distro configs should remain fairly static once initially set. FWIW, we do call 
out any needed changes between releases in the migration information within 
the documentation.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list