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

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


On Tuesday 02 April 2013 22:11:50 Khem Raj wrote:
> This is to facilitate distros using poky as reference
> so that they can use ?= and provide an option for their
> users to override it if desired
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  meta-yocto/conf/distro/poky.conf |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-yocto/conf/distro/poky.conf
> b/meta-yocto/conf/distro/poky.conf index afe328b..963b3dd 100644
> --- a/meta-yocto/conf/distro/poky.conf
> +++ b/meta-yocto/conf/distro/poky.conf
> @@ -44,7 +44,7 @@ TCLIBCAPPEND = ""
>  QEMU_TARGETS ?= "arm i386 mips mipsel ppc x86_64"
>  # Other QEMU_TARGETS "mips64 mips64el sh4"
> 
> -PREMIRRORS ?= "\
> +PREMIRRORS ??= "\
>  bzr://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
>  cvs://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
>  git://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \

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.

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 "=" ?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list