aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/sdks/agl/_build-sdks-json.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/sdks/agl/_build-sdks-json.sh b/scripts/sdks/agl/_build-sdks-json.sh
index 82cb2f3..6a6ad4e 100755
--- a/scripts/sdks/agl/_build-sdks-json.sh
+++ b/scripts/sdks/agl/_build-sdks-json.sh
@@ -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; }