Patchwork [meta-oe] libunwind: Add mirror site

login
register
mail settings
Submitter Changhyeok Bae
Date April 16, 2014, 4:41 a.m.
Message ID <1397623303-8512-1-git-send-email-changhyeok.bae@lge.com>
Download mbox | patch
Permalink /patch/70609/
State Accepted, archived
Headers show

Comments

Changhyeok Bae - April 16, 2014, 4:41 a.m.
The SRC_URI is not accessible.
So need to add mirror site referred by the original site.

Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com>
---
 meta-oe/recipes-support/libunwind/libunwind.inc |    2 ++
 1 file changed, 2 insertions(+)
Martin Jansa - April 20, 2014, 11:49 a.m.
On Wed, Apr 16, 2014 at 01:41:43PM +0900, Changhyeok Bae wrote:
> The SRC_URI is not accessible.
> So need to add mirror site referred by the original site.

Merged, thanks!

for others: I've discussed this with Changhyeok and the problem is that
http://download.savannah.nongnu.org/releases redirects to closest mirror
and few mirrors (e.g. .jp) weren't working correctly while
http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.

I'll add this to commit message.

> Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com>
> ---
>  meta-oe/recipes-support/libunwind/libunwind.inc |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-oe/recipes-support/libunwind/libunwind.inc b/meta-oe/recipes-support/libunwind/libunwind.inc
> index a5b7482..a70ec2e 100644
> --- a/meta-oe/recipes-support/libunwind/libunwind.inc
> +++ b/meta-oe/recipes-support/libunwind/libunwind.inc
> @@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5"
>  
>  SRC_URI = "http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz"
>  
> +MIRRORS += "http://download.savannah.nongnu.org/releases/ http://download-mirror.savannah.gnu.org/releases/ \n"
> +
>  inherit autotools
>  
>  PACKAGECONFIG ??= ""
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-support/libunwind/libunwind.inc b/meta-oe/recipes-support/libunwind/libunwind.inc
index a5b7482..a70ec2e 100644
--- a/meta-oe/recipes-support/libunwind/libunwind.inc
+++ b/meta-oe/recipes-support/libunwind/libunwind.inc
@@ -5,6 +5,8 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5"
 
 SRC_URI = "http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz"
 
+MIRRORS += "http://download.savannah.nongnu.org/releases/ http://download-mirror.savannah.gnu.org/releases/ \n"
+
 inherit autotools
 
 PACKAGECONFIG ??= ""