[oe-commits] Rolf Leggewie : base.bbclass: introduce OE source mirror network as last resort for do_fetch

git version control git at git.openembedded.org
Wed Aug 19 12:23:12 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: ad0ba478018ac64598b6701df5a79b1f71f9b58f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ad0ba478018ac64598b6701df5a79b1f71f9b58f

Author: Rolf Leggewie <oe-devel at rolf.leggewie.biz>
Date:   Fri Aug 14 16:01:10 2009 +0200

base.bbclass: introduce OE source mirror network as last resort for do_fetch

Updating recipes and checksums.ini for vanishing upstream hosts or simple
restructuring can quickly become a chore for OE devs if taken seriously.
The OE user experience suffers severely when at any given point in time
4 to 5 recipes on average fail do_fetch for a simple image.

The solution is for OE to provide its own caching of upstream sources.
mirrors.openembedded.org is a swarm of possibly incomplete source mirrors
provided by the community and load-balanced via DNS round robin.  They
act as a first line of defense and lower bandwidth load on melo which
hosts sources.openembedded.org.  The melo mirror aims to have a complete
copy of free-to-publish sources used by the current org.oe.dev branch.

More information at http://wiki.openembedded.net/index.php/Sources_mirror

Acked-by: Holger Freyther <zecke at selfish.org>
Acked-by: Chris Larson <clarson at kergoth.com>

---

 classes/base.bbclass |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/classes/base.bbclass b/classes/base.bbclass
index 5363e5c..51648da 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -1312,6 +1312,10 @@ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://gd.tuwien.ac.at/utils/adm
 ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://sunsite.ualberta.ca/pub/Mirror/lsof/
 ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://the.wiretapped.net/pub/security/host-security/lsof/
 http://www.apache.org/dist  http://archive.apache.org/dist
+ftp://.*/.*     http://mirrors.openembedded.org/
+https?$://.*/.* http://mirrors.openembedded.org/
+ftp://.*/.*     http://sources.openembedded.org/
+https?$://.*/.* http://sources.openembedded.org/
 
 }
 





More information about the Openembedded-commits mailing list