Update sdks list with EEL/5.0.0 release. v1.0.1
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Wed, 10 Jan 2018 08:25:36 +0000 (09:25 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Wed, 10 Jan 2018 08:25:51 +0000 (09:25 +0100)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
scripts/sdks/agl/_build-sdks-json.sh

index 82cb2f3..6a6ad4e 100755 (executable)
@@ -24,11 +24,9 @@ SDK_AGL_IOTBZH_BASEURL="http://iot.bzh/download/public/XDS/sdk"
 DOWNLOADABLE_URLS="
     ${SDK_AGL_BASEURL}/snapshots/master/latest/*/deploy/sdk
 
-    ${SDK_AGL_BASEURL}/release/dab/3.99.3/m3ulcb-nogfx/deploy/sdk
     ${SDK_AGL_BASEURL}/release/dab/4.0.2/*/deploy/sdk
 
-    ${SDK_AGL_BASEURL}/release/eel/4.99.4/*/deploy/sdk
-    ${SDK_AGL_BASEURL}/release/eel/latest/*/deploy/sdk
+    ${SDK_AGL_BASEURL}/release/eel/5.0.0/*/deploy/sdk
 
     ${SDK_AGL_IOTBZH_BASEURL}
 "
@@ -82,6 +80,12 @@ for url in $(echo $urls); do
             name=$(echo "AGL-$(echo ${endUrl} | cut -d'/' -f2,3,4,5)" | sed s:/:-:g)
         fi
 
+        # Distringuish qemux86-64 and corei7-64
+        if [[ "$name" == *"qemux86-64"* && "$arch" == "corei7-64" ]]; then
+            arch="qemux86-64"
+        fi
+
+
         [ "${profile}" = "" ] && { echo " ERROR: profile not set" continue; }
         [ "${version}" = "" ] && { echo " ERROR: version not set" continue; }
         [ "${arch}" = "" ] && { echo " ERROR: arch not set" continue; }