aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-10-09 15:25:33 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-10-09 15:29:00 +0200
commitfd259104f41b4a9d79e1952ef453693f055bdb91 (patch)
treed71255dee808a8e2d90e87858d92c08736587795
parent44ee68c2cf84d6e131c589e4d325d0b209eba1e3 (diff)
Cleanup useless SDKs from SDKs db/list
Also ignored some known file when parsing SDK directory Change-Id: I8f9f127325b7743ebe3866d1145f928ded49322b Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rwxr-xr-xscripts/sdks/agl/_build-sdks-json.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/scripts/sdks/agl/_build-sdks-json.sh b/scripts/sdks/agl/_build-sdks-json.sh
index b97edd0..60e0e71 100755
--- a/scripts/sdks/agl/_build-sdks-json.sh
+++ b/scripts/sdks/agl/_build-sdks-json.sh
@@ -24,21 +24,15 @@ SDK_AGL_IOTBZH_BASEURL="http://iot.bzh/download/public/XDS"
DOWNLOADABLE_URLS="
${SDK_AGL_BASEURL}/snapshots/master/latest/*/deploy/sdk
- ${SDK_AGL_BASEURL}/release/dab/4.0.2/*/deploy/sdk
+ ${SDK_AGL_BASEURL}/release/dab/4.0.3/*/deploy/sdk
- ${SDK_AGL_BASEURL}/release/eel/5.0.0/*/deploy/sdk
- ${SDK_AGL_BASEURL}/release/eel/5.0.1/*/deploy/sdk
- ${SDK_AGL_BASEURL}/release/eel/5.0.2/*/deploy/sdk
- ${SDK_AGL_BASEURL}/release/eel/5.0.3/*/deploy/sdk
${SDK_AGL_BASEURL}/release/eel/5.1.0/*/deploy/sdk
${SDK_AGL_BASEURL}/release/eel/latest/*/deploy/sdk
- ${SDK_AGL_BASEURL}/release/flounder/5.99.6/*/deploy/sdk
${SDK_AGL_BASEURL}/release/flounder/6.0.0/*/deploy/sdk
${SDK_AGL_BASEURL}/release/flounder/latest/*/deploy/sdk
${SDK_AGL_IOTBZH_BASEURL}/images/dab-m3ulcb/*/sdk
- ${SDK_AGL_IOTBZH_BASEURL}/images/dab-raspi/*/sdk
${SDK_AGL_IOTBZH_BASEURL}/images/eel-intel-corei7-64/*/sdk
${SDK_AGL_IOTBZH_BASEURL}/images/eel-m3ulcb/*/sdk
@@ -78,6 +72,9 @@ for url in $(echo $urls); do
for sdkFile in $(echo ${files}); do
+ # Ignored silent some known files
+ [[ "${sdkFile}" = "agl-sdk-latest.sh" ]] && continue
+
# assume that sdk name follow this format :
# _PROFILE_-_COMPILER_ARCH_-_TARGET_-crosssdk-_ARCH_-toolchain-_VERSION_.sh
# for example: