[yocto] [PATCH][eclipse-poky][Rev1] setup.py: Use Yocto mirror of eclipse juno repo
Zhang, Jessica
jessica.zhang at intel.com
Mon Sep 10 10:02:34 PDT 2012
Hi Beth,
The patch seems is corrupted with some text wrapping issue that hard for me to manually fix. Can you resend as a attachment or create a branch?
Thanks,
Jessica
-----Original Message-----
From: Flanagan, Elizabeth [mailto:elizabeth.flanagan at intel.com]
Sent: Friday, September 07, 2012 4:47 PM
To: Zhang, Jessica
Cc: yocto at yoctoproject.org
Subject: Re: [PATCH][eclipse-poky][Rev1] setup.py: Use Yocto mirror of eclipse juno repo
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 | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/scripts/setup.sh b/scripts/setup.sh index 5a928f4..17b1af4 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -66,7 +66,9 @@ 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://download.eclipse.org/eclipse/downloads/drops4/${ep_rel}${ep_ver}${ep_date}/eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz"
+ # The eclipse site has moments where it is overloaded. Maintaining
our own mirror solves this.
+ 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 +180,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