summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-02-01 17:39:44 +0000
committerJoshua Lock <josh@linux.intel.com>2010-02-04 00:18:29 +0000
commit095347fc691b68e7558470e1488157994aa6c7b8 (patch)
treefec8903a0b03b9e912e5912121b1c55f19937e92
parent8235389fd1fdb37bed975063f69cbfd50026e008 (diff)
downloadopenembedded-core-095347fc691b68e7558470e1488157994aa6c7b8.tar.gz
openembedded-core-095347fc691b68e7558470e1488157994aa6c7b8.tar.bz2
openembedded-core-095347fc691b68e7558470e1488157994aa6c7b8.zip
poky.bbclass: Use pokylinux.org stashes as PREMIRRORS for vcs'
Check the tarball stash on pokylinux.org before hitting the upstream version control systems. This is friendlier to the upstream repositories than us hammering their bandwidth. Signed-off-by: Joshua Lock <josh@linux.intel.com>
-rw-r--r--meta/classes/poky.bbclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/classes/poky.bbclass b/meta/classes/poky.bbclass
index ba81f9e22c..cf65b6ceb1 100644
--- a/meta/classes/poky.bbclass
+++ b/meta/classes/poky.bbclass
@@ -1,3 +1,14 @@
+PREMIRRORS_append () {
+bzr://.*/.* http://pokylinux.org/sources/
+cvs://.*/.* http://pokylinux.org/sources/
+git://.*/.* http://pokylinux.org/sources/
+hg://.*/.* http://pokylinux.org/sources/
+osc://.*/.* http://pokylinux.org/sources/
+p4://.*/.* http://pokylinux.org/sources/
+svk://.*/.* http://pokylinux.org/sources/
+svn://.*/.* http://pokylinux.org/sources/
+}
+
MIRRORS_append () {
ftp://.*/.* http://pokylinux.org/sources/
http://.*/.* http://pokylinux.org/sources/