diff options
author | Changhyeok Bae <changhyeok.bae@lge.com> | 2014-05-08 12:44:04 +0900 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-11 12:27:21 +0100 |
commit | bcb30d84f909c68ca9016eb95f3ff81eb3f8b8f4 (patch) | |
tree | d51eafbe85c01dc2d3187b92b943141ffe1947e5 /meta/classes/mirrors.bbclass | |
parent | 646b089c38623cebe4a6b22c6798d21453fe5257 (diff) | |
download | poky-bcb30d84f909c68ca9016eb95f3ff81eb3f8b8f4.tar.gz |
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.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.
* Add SAVANNAH_GNU_MIRROR and SAVANNAH_NONGNU_MIRROR variable in bitbake.conf.
* Change the SRC_URI using the new variable.
(From OE-Core rev: af00b6544f60e4d7581f9d9767f9d3f574392359)
Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/mirrors.bbclass')
-rw-r--r-- | meta/classes/mirrors.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass index 1fd7cd88a7..90fb1e025b 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 | |||
45 | ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://the.wiretapped.net/pub/security/host-security/lsof/ \n \ | 45 | ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://the.wiretapped.net/pub/security/host-security/lsof/ \n \ |
46 | http://www.apache.org/dist http://archive.apache.org/dist \n \ | 46 | http://www.apache.org/dist http://archive.apache.org/dist \n \ |
47 | http://downloads.sourceforge.net/watchdog/ http://fossies.org/linux/misc/ \n \ | 47 | http://downloads.sourceforge.net/watchdog/ http://fossies.org/linux/misc/ \n \ |
48 | ${SAVANNAH_GNU_MIRROR} http://download-mirror.savannah.gnu.org/releases \n \ | ||
49 | ${SAVANNAH_NONGNU_MIRROR} http://download-mirror.savannah.nongnu.org/releases \n \ | ||
48 | cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ | 50 | cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
49 | svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ | 51 | svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
50 | git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ | 52 | git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |