On 26 May 2016 at 16:01, Olof Johansson <olof.johans...@axis.com> wrote: > 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.kukko...@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.
I'm not attached to the variable, I'll change those to plain URLs if that's preferred. Jussi > > http://lists.openembedded.org/pipermail/openembedded-core/2015-July/108217.html > > -- > olofjn -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core