summaryrefslogtreecommitdiff
path: root/schulung_tools/layer-building/yocto/get-full-eclipse-mirror.sh
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2019-04-26 11:00:00 +0206
committerJohn Ogness <john.ogness@linutronix.de>2019-04-26 11:00:00 +0206
commit762fab1d5f677ef42a4467e492a724540483eb7b (patch)
tree8e59b8c0370da700e5bb02db10b8e322f43c963b /schulung_tools/layer-building/yocto/get-full-eclipse-mirror.sh
parent602c17ae7dc2d3af68c0105fbc61873181906553 (diff)
layer-building/yocto: update scripts for 2.6.1
Use the latest thud stable and also cleanup the scripts a bit so that it is easier to update the version in the future. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'schulung_tools/layer-building/yocto/get-full-eclipse-mirror.sh')
-rwxr-xr-xschulung_tools/layer-building/yocto/get-full-eclipse-mirror.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/schulung_tools/layer-building/yocto/get-full-eclipse-mirror.sh b/schulung_tools/layer-building/yocto/get-full-eclipse-mirror.sh
index c155e7e..28df840 100755
--- a/schulung_tools/layer-building/yocto/get-full-eclipse-mirror.sh
+++ b/schulung_tools/layer-building/yocto/get-full-eclipse-mirror.sh
@@ -4,6 +4,8 @@ set -e
test -w /opt/mirrors || exit 1
+YOCTO_VERS="2.6.1"
+
ECL="/opt/eclipse/eclipse -nosplash -verbose -application"
AM="$EARGS org.eclipse.equinox.p2.metadata.repository.mirrorApplication"
@@ -11,7 +13,7 @@ AA="$EARGS org.eclipse.equinox.p2.artifact.repository.mirrorApplication"
P1="download.eclipse.org/releases/oxygen"
P2="download.eclipse.org/tm/updates/4.0"
-P3="downloads.yoctoproject.org/releases/eclipse-plugin/2.6/oxygen"
+P3="downloads.yoctoproject.org/releases/eclipse-plugin/$YOCTO_VERS/oxygen"
go()
{