[eclipse-yocto] [oxygen][PATCH] setup.sh: use Yocto Project full eclipse mirror for UPDATE_SITE
Tim Orling
timothy.t.orling at linux.intel.com
Thu Dec 6 08:41:35 PST 2018
We now have a full mirror of Eclipse, so there is no
longer any reason to go to upstream for UPDATE_SITE.
Should help with [YOCTO #13050], but not a necessarily the
complete fix.
Signed-off-by: Tim Orling <timothy.t.orling at linux.intel.com>
---
scripts/setup.sh | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/scripts/setup.sh b/scripts/setup.sh
index 7492899..58a60d1 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -263,8 +263,13 @@ else
TM_TERMINAL_SITE="http://downloads.yoctoproject.org/eclipse-full/tm/terminal/marketplace"
fi
-#Update Site - always use updates from upstream
-UPDATE_SITE="http://download.eclipse.org/eclipse/updates/4.7"
+#Update Site - We have a full mirror of eclipse now, so default to that
+if [[ "$1" = "--upstream" ]]
+then
+ UPDATE_SITE="http://download.eclipse.org/eclipse/updates/4.7"
+else
+ UPDATE_SITE="http://downloads.yoctoproject.org/eclipse-full/eclipse/updates/4.7/"
+fi
# CDT features from simrel
update_feature_remote ${MAIN_SITE} org.eclipse.cdt.sdk.feature.group 9.4.3
--
2.19.2
More information about the eclipse-yocto
mailing list