[Angstrom-devel] Khem Raj : angstrom-mirrors: Use angstrom source mirror as last resort

Angstrom Git Repos ang-git at xora.vm.bytemark.co.uk
Tue Dec 6 08:22:21 CET 2011


Module: meta-angstrom
Branch: master
Commit: f963d827007d15ed31fd9f14f386918e24b5daa8

Author: Khem Raj <raj.khem at gmail.com>
Date:   Mon Dec  5 21:28:18 2011 -0800

angstrom-mirrors: Use angstrom source mirror as last resort

Currently we append to PREMIRRORS which makes it
the preferred choice to look for source tars and angstrom mirror
is throttled and gives 5Kbps download speed here

This patch makes it append to MIRRORS which means
it will be used as fall back if the sources are
not found at original SRC_URIs in recipes

If it is something acceptable please apply

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 classes/angstrom-mirrors.bbclass |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/classes/angstrom-mirrors.bbclass b/classes/angstrom-mirrors.bbclass
index a9f6aa3..892f054 100644
--- a/classes/angstrom-mirrors.bbclass
+++ b/classes/angstrom-mirrors.bbclass
@@ -1,4 +1,4 @@
-PREMIRRORS_append () {
+MIRRORS_append () {
 cvs://.*/.* http://www.angstrom-distribution.org/unstable/sources/
 svn://.*/.* http://www.angstrom-distribution.org/unstable/sources/
 git://.*/.* http://www.angstrom-distribution.org/unstable/sources/
@@ -7,9 +7,6 @@ bzr://.*/.* http://www.angstrom-distribution.org/unstable/sources/
 osc://.*/.* http://www.angstrom-distribution.org/unstable/sources/
 p4://.*/.*  http://www.angstrom-distribution.org/unstable/sources/
 svk://.*/.* http://www.angstrom-distribution.org/unstable/sources/
-}
-
-MIRRORS_append () {
 ftp://.*/.*	http://www.angstrom-distribution.org/unstable/sources/
 https?$://.*/.*	http://www.angstrom-distribution.org/unstable/sources/
 }




More information about the Angstrom-distro-devel mailing list