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 | |
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')
-rw-r--r-- | meta/classes/mirrors.bbclass | 2 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 2 | ||||
-rw-r--r-- | meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/dmidecode/dmidecode_2.12.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/quilt/quilt-0.61.inc | 2 | ||||
-rw-r--r-- | meta/recipes-extended/ed/ed_0.5.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/texi2html/texi2html_5.0.bb | 2 | ||||
-rw-r--r-- | meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/attr/acl.inc | 2 | ||||
-rw-r--r-- | meta/recipes-support/attr/attr.inc | 2 |
10 files changed, 12 insertions, 8 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 \ |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 66f435fa0a..9f14785f1c 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -568,6 +568,8 @@ KERNELORG_MIRROR = "http://kernel.org/pub" | |||
568 | SOURCEFORGE_MIRROR = "http://downloads.sourceforge.net" | 568 | SOURCEFORGE_MIRROR = "http://downloads.sourceforge.net" |
569 | XLIBS_MIRROR = "http://xlibs.freedesktop.org/release" | 569 | XLIBS_MIRROR = "http://xlibs.freedesktop.org/release" |
570 | XORG_MIRROR = "http://xorg.freedesktop.org/releases" | 570 | XORG_MIRROR = "http://xorg.freedesktop.org/releases" |
571 | SAVANNAH_GNU_MIRROR = "http://download.savannah.gnu.org/releases" | ||
572 | SAVANNAH_NONGNU_MIRROR = "http://download.savannah.nongnu.org/releases" | ||
571 | 573 | ||
572 | # You can use the mirror of your country to get faster downloads by putting | 574 | # You can use the mirror of your country to get faster downloads by putting |
573 | # export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool" | 575 | # export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool" |
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb index 5c6bcd0671..448d0216be 100644 --- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb +++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | |||
@@ -9,7 +9,7 @@ PR = "r14" | |||
9 | 9 | ||
10 | RDEPENDS_${PN} = "${PN}-inittab" | 10 | RDEPENDS_${PN} = "${PN}-inittab" |
11 | 11 | ||
12 | SRC_URI = "http://download.savannah.gnu.org/releases-noredirect/sysvinit/sysvinit-${PV}.tar.bz2 \ | 12 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/sysvinit/sysvinit-${PV}.tar.bz2 \ |
13 | file://install.patch \ | 13 | file://install.patch \ |
14 | file://crypt-lib.patch \ | 14 | file://crypt-lib.patch \ |
15 | file://pidof-add-m-option.patch \ | 15 | file://pidof-add-m-option.patch \ |
diff --git a/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb b/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb index 61779feb69..3e3a350fd8 100644 --- a/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb +++ b/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.nongnu.org/dmidecode/" | |||
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" |
5 | 5 | ||
6 | SRC_URI = "http://savannah.nongnu.org/download/dmidecode/${BP}.tar.bz2" | 6 | SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/dmidecode/${BP}.tar.bz2" |
7 | 7 | ||
8 | COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|powerpc).*-linux" | 8 | COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|powerpc).*-linux" |
9 | 9 | ||
diff --git a/meta/recipes-devtools/quilt/quilt-0.61.inc b/meta/recipes-devtools/quilt/quilt-0.61.inc index 4d915bf3e4..9ae4377cbc 100644 --- a/meta/recipes-devtools/quilt/quilt-0.61.inc +++ b/meta/recipes-devtools/quilt/quilt-0.61.inc | |||
@@ -4,7 +4,7 @@ SECTION = "devel" | |||
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
6 | 6 | ||
7 | SRC_URI = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \ | 7 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/quilt/quilt-${PV}.tar.gz \ |
8 | file://install.patch \ | 8 | file://install.patch \ |
9 | file://run-ptest \ | 9 | file://run-ptest \ |
10 | file://Makefile \ | 10 | file://Makefile \ |
diff --git a/meta/recipes-extended/ed/ed_0.5.bb b/meta/recipes-extended/ed/ed_0.5.bb index a075780e93..143e636546 100644 --- a/meta/recipes-extended/ed/ed_0.5.bb +++ b/meta/recipes-extended/ed/ed_0.5.bb | |||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6ddd5335ef96fb858a138230af773710 \ | |||
6 | file://main.c;beginline=1;endline=17;md5=36d4b85e5ae9028e918d1cc775c2475e" | 6 | file://main.c;beginline=1;endline=17;md5=36d4b85e5ae9028e918d1cc775c2475e" |
7 | 7 | ||
8 | PR = "r2" | 8 | PR = "r2" |
9 | SRC_URI = "http://download.savannah.gnu.org/releases-noredirect/ed/ed-${PV}.tar.bz2" | 9 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/ed/ed-${PV}.tar.bz2" |
10 | 10 | ||
11 | SRC_URI[md5sum] = "4ee21e9dcc9b5b6012c23038734e1632" | 11 | SRC_URI[md5sum] = "4ee21e9dcc9b5b6012c23038734e1632" |
12 | SRC_URI[sha256sum] = "edef2bbde0fbf0d88232782a0eded323f483a0519d6fde9a3b1809056fd35f3e" | 12 | SRC_URI[sha256sum] = "edef2bbde0fbf0d88232782a0eded323f483a0519d6fde9a3b1809056fd35f3e" |
diff --git a/meta/recipes-extended/texi2html/texi2html_5.0.bb b/meta/recipes-extended/texi2html/texi2html_5.0.bb index d488465751..aa5f1fddaf 100644 --- a/meta/recipes-extended/texi2html/texi2html_5.0.bb +++ b/meta/recipes-extended/texi2html/texi2html_5.0.bb | |||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | |||
6 | 6 | ||
7 | PR = "r2" | 7 | PR = "r2" |
8 | 8 | ||
9 | SRC_URI = "http://download.savannah.gnu.org/releases/texi2html/${BPN}-${PV}.tar.bz2 \ | 9 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/texi2html/${BPN}-${PV}.tar.bz2 \ |
10 | file://fix_gettext_version.patch" | 10 | file://fix_gettext_version.patch" |
11 | 11 | ||
12 | SRC_URI[md5sum] = "f15ac876fcdc8be865b16535f480aa54" | 12 | SRC_URI[md5sum] = "f15ac876fcdc8be865b16535f480aa54" |
diff --git a/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb b/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb index f124be9a54..830c053b6b 100644 --- a/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb +++ b/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb | |||
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
8 | 8 | ||
9 | DEPENDS = "gtk+ intltool-native" | 9 | DEPENDS = "gtk+ intltool-native" |
10 | DEPENDS_append_poky = " libowl" | 10 | DEPENDS_append_poky = " libowl" |
11 | SRC_URI = "http://savannah.nongnu.org/download/${BPN}/${BPN}-${PV}.tar.gz \ | 11 | SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ |
12 | file://leafpad.desktop" | 12 | file://leafpad.desktop" |
13 | 13 | ||
14 | SRC_URI[md5sum] = "254a72fc67505e3aa52884c729cd7b97" | 14 | SRC_URI[md5sum] = "254a72fc67505e3aa52884c729cd7b97" |
diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc index 355dbdd9b0..bc9fd6dda3 100644 --- a/meta/recipes-support/attr/acl.inc +++ b/meta/recipes-support/attr/acl.inc | |||
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \ | |||
9 | file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764" | 9 | file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764" |
10 | 10 | ||
11 | DEPENDS = "attr" | 11 | DEPENDS = "attr" |
12 | SRC_URI = "http://download.savannah.gnu.org/releases/acl/${BP}.src.tar.gz \ | 12 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/acl/${BP}.src.tar.gz \ |
13 | file://run-ptest \ | 13 | file://run-ptest \ |
14 | file://acl-fix-the-order-of-expected-output-of-getfacl.patch \ | 14 | file://acl-fix-the-order-of-expected-output-of-getfacl.patch \ |
15 | " | 15 | " |
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc index 01ad59cb96..c37d34f23d 100644 --- a/meta/recipes-support/attr/attr.inc +++ b/meta/recipes-support/attr/attr.inc | |||
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=2d0aa14b3fce4694e4f615e30186335f \ | |||
11 | file://attr/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \ | 11 | file://attr/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \ |
12 | file://libattr/libattr.c;endline=17;md5=7970f77049f8fa1199fff62a7ab724fb" | 12 | file://libattr/libattr.c;endline=17;md5=7970f77049f8fa1199fff62a7ab724fb" |
13 | 13 | ||
14 | SRC_URI = "http://download.savannah.gnu.org/releases/attr/${BP}.src.tar.gz \ | 14 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/attr/${BP}.src.tar.gz \ |
15 | file://run-ptest \ | 15 | file://run-ptest \ |
16 | " | 16 | " |
17 | 17 | ||