[yocto] [PATCH][eclipse-poky][Rev1] setup.py: Use Yocto mirror of eclipse juno repo

Flanagan, Elizabeth elizabeth.flanagan at intel.com
Fri Sep 7 16:27:56 PDT 2012


The main eclipse download site has been hard to connect to
for many users. This sets up the main setup script to use a
mirror of the eclipse sdk tarballs and a mirror of the update
site.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan at intel.com>
---
 scripts/setup.sh |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/scripts/setup.sh b/scripts/setup.sh
index 5a928f4..9c57e50 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -66,7 +66,7 @@ if [ ! -f
eclipse/plugins/org.eclipse.swt_3.100.0.v4233d.jar ]; then
   fi
   # Eclipse SDK: Need the SDK so we can link into docs
   echo "Getting Eclipse SDK..."
-  wget "http://download.eclipse.org/eclipse/downloads/drops4/${ep_rel}${ep_ver}${ep_date}/eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz"
+  wget "http://downloads.yoctoproject.org/eclipse/downloads/drops4/${ep_rel}${ep_ver}${ep_date}/eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz"
   tar xfz eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz || err_exit $?
"extracting Eclipse SDK failed"
   rm eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz
   cd "${curdir2}"
@@ -178,7 +178,11 @@ update_feature_remote()
 }

 #Eclipse Update Site
-MAIN_UPDATE_SITE="http://download.eclipse.org/releases/juno"
+#MAIN_UPDATE_SITE="http://download.eclipse.org/releases/juno"
+# The main eclipse download site is unreliable at times. For now,
we're going to
+# maintain a mirror of just what we need.
+MAIN_UPDATE_SITE="http://downloads.yoctoproject.org/eclipse/juno/ftp.osuosl.org/pub/eclipse/releases/juno"
+
 UPDATE_SITE="${MAIN_UPDATE_SITE}"

 #CDT related
-- 
1.7.5.4



More information about the yocto mailing list