Code Review
/
src
/
xds
/
xds-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed xds-server service startup in VM.
[src/xds/xds-server.git]
/
scripts
/
sdks
/
agl
/
_build-sdks-json.sh
diff --git
a/scripts/sdks/agl/_build-sdks-json.sh
b/scripts/sdks/agl/_build-sdks-json.sh
index
82cb2f3
..
4ab5f0c
100755
(executable)
--- a/
scripts/sdks/agl/_build-sdks-json.sh
+++ b/
scripts/sdks/agl/_build-sdks-json.sh
@@
-1,6
+1,6
@@
#!/bin/bash
###########################################################################
#!/bin/bash
###########################################################################
-# Copyright 2017 IoT.bzh
+# Copyright 2017
-2018
IoT.bzh
#
# author: Sebastien Douheret <sebastien@iot.bzh>
#
#
# author: Sebastien Douheret <sebastien@iot.bzh>
#
@@
-18,21
+18,29
@@
###########################################################################
SDK_AGL_BASEURL="https://download.automotivelinux.org/AGL"
###########################################################################
SDK_AGL_BASEURL="https://download.automotivelinux.org/AGL"
-SDK_AGL_IOTBZH_BASEURL="http://iot.bzh/download/public/XDS
/sdk
"
+SDK_AGL_IOTBZH_BASEURL="http://iot.bzh/download/public/XDS"
# Define urls where SDKs can be downloaded
DOWNLOADABLE_URLS="
${SDK_AGL_BASEURL}/snapshots/master/latest/*/deploy/sdk
# Define urls where SDKs can be downloaded
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/dab/4.0.2/*/deploy/sdk
- ${SDK_AGL_BASEURL}/release/eel/4.99.4/*/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/latest/*/deploy/sdk
${SDK_AGL_BASEURL}/release/eel/latest/*/deploy/sdk
- ${SDK_AGL_IOTBZH_BASEURL}
-"
+ ${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
+ ${SDK_AGL_IOTBZH_BASEURL}/images/master-m3ulcb/*/sdk
+ ${SDK_AGL_IOTBZH_BASEURL}/images/master-qemux86-64/*/sdk
+"
###
###
@@
-82,6
+90,12
@@
for url in $(echo $urls); do
name=$(echo "AGL-$(echo ${endUrl} | cut -d'/' -f2,3,4,5)" | sed s:/:-:g)
fi
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; }
[ "${profile}" = "" ] && { echo " ERROR: profile not set" continue; }
[ "${version}" = "" ] && { echo " ERROR: version not set" continue; }
[ "${arch}" = "" ] && { echo " ERROR: arch not set" continue; }