[OE-core] [PATCH 6/7] gnupg.org-hosted recipes: Change SRC_URI to https site

Olof Johansson olof.johansson at axis.com
Thu May 26 13:01:50 UTC 2016


On 16-05-25 16:29 +0300, Jussi Kukkonen wrote:
> https version seems more reliable and in an informal test fetching
> all gnupg recipes now takes <20% of the time it used to.
> 
> Define GNUPG_MIRROR in bitbake.conf so future tweaks to this are
> easier. Replace some slower mirrors with the official ftp site
> and another from gnupg.org mirror list.
> 
> Change gnutls to use GNUPG_MIRROR as well: they have their own domain
> but the ftp site is the slow, unreliable gnupg.org one.
> 
> Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
> ---
...
> -SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${PV}.tar.bz2 \
> +SRC_URI = "${GNUPG_MIRROR}/gnupg/gnupg-${PV}.tar.bz2 \

I'm not fond of having variables like these, since it makes the
URL in the recipe harder to work with and interpret. Maybe not a
deal breaker, but we already have PREMIRRORS, which can be used
instead of variable indirection. A similar patch, almost a year
ago, was rejected.

 http://lists.openembedded.org/pipermail/openembedded-core/2015-July/108217.html

-- 
olofjn



More information about the Openembedded-core mailing list