[OE-core] [PATCH v2] mirrors.bbclass: Add mirror site for savannah

Changhyeok Bae changhyeok.bae at lge.com
Fri Apr 25 02:26:09 UTC 2014


Hi

I'll withdraw this and "dmidecode: change the SRC_URI" patch.
Because I'll create one patch with those patches as Martin's comment.

Thanks

-----Original Message-----
From: Changhyeok Bae [mailto:changhyeok.bae at lge.com] 
Sent: Friday, April 25, 2014 10:58 AM
To: openembedded-core at lists.openembedded.org
Cc: Changhyeok Bae
Subject: [PATCH v2] mirrors.bbclass: Add mirror site for savannah

* The SRC_URI is not accessible.
  So need to add mirror site referred by the original site.
* The problem is that
  http://download.savannah.nongnu.org/releases and
  http://download.savannah.gnu.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.

Signed-off-by: Changhyeok Bae <changhyeok.bae at lge.com>
---
 meta/classes/mirrors.bbclass |    2 ++
 meta/conf/bitbake.conf       |    2 ++
 2 files changed, 4 insertions(+)

diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index 1fd7cd8..5c5f8b6 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -45,6 +45,8 @@ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
ftp://sunsite.ualberta.ca/pub/M
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
ftp://the.wiretapped.net/pub/security/host-security/lsof/ \n \
http://www.apache.org/dist  http://archive.apache.org/dist \n \
http://downloads.sourceforge.net/watchdog/ http://fossies.org/linux/misc/ \n
\
+${SAVANNAH_GNU_MIRROR} http://download-mirror.savannah.gnu.org/releases 
+\n \ ${SAVANNAH_NONGNU_MIRROR} 
+http://download-mirror.savannah.gnu.org/releases \n \
 cvs://.*/.*     http://downloads.yoctoproject.org/mirror/sources/ \n \
 svn://.*/.*     http://downloads.yoctoproject.org/mirror/sources/ \n \
 git://.*/.*     http://downloads.yoctoproject.org/mirror/sources/ \n \
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index
b3786a7..4a08fac 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -568,6 +568,8 @@ KERNELORG_MIRROR = "http://kernel.org/pub"
 SOURCEFORGE_MIRROR = "http://downloads.sourceforge.net"
 XLIBS_MIRROR = "http://xlibs.freedesktop.org/release"
 XORG_MIRROR = "http://xorg.freedesktop.org/releases"
+SAVANNAH_GNU_MIRROR = "http://download.savannah.gnu.org/releases"
+SAVANNAH_NONGNU_MIRROR = "http://download.savannah.nongnu.org/releases"
 
 # You can use the mirror of your country to get faster downloads by putting
#  export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool"
--
1.7.9.5




More information about the Openembedded-core mailing list