diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2018-01-02 16:53:58 +0100 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2018-01-02 16:53:58 +0100 |
commit | 4f1e4787e247add28e63978af2abcd7ae3d5ab05 (patch) | |
tree | 492bd1435e8deeaf14a3677c6a9f6edc425684f0 /jjb/common/include-apps-fetch-install-sdk.sh | |
parent | 17b9b9cb90b4136651dd5405d6d82f37d60a3cae (diff) |
Apply new folder structure for application repository
Change-Id: I5937215900d8310947e5a7a1e6e247abda0703b8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-apps-fetch-install-sdk.sh')
-rw-r--r-- | jjb/common/include-apps-fetch-install-sdk.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/jjb/common/include-apps-fetch-install-sdk.sh b/jjb/common/include-apps-fetch-install-sdk.sh index 639ede48..0cec864d 100644 --- a/jjb/common/include-apps-fetch-install-sdk.sh +++ b/jjb/common/include-apps-fetch-install-sdk.sh @@ -11,18 +11,17 @@ SDKHOSTDIR="~/agl-sdk" ## apps-fetch-install-sdk.sh ################################################################################ -# default to master -SDKBASEURL="https://download.automotivelinux.org/AGL/snapshots/master/latest/${TARGETSDKMACHINE}/deploy/sdk/" - # should probably switch to release ... or multiple (release/snapshot) fwiw if test x"" = x"$AGLBRANCH"; then echo "AGLBRANCH not set, quitting" ; exit 1 ; fi +# default to release +SDKBASEURL="https://download.automotivelinux.org/AGL/release/${AGLBRANCH}/latest/${TARGETSDKMACHINE}/deploy/sdk/" + +# but master uses snapshot if test x"master" = x"$AGLBRANCH" ; then SDKBASEURL="https://download.automotivelinux.org/AGL/snapshots/master/latest/${TARGETSDKMACHINE}/deploy/sdk/" fi -if test x"chinook" = x"$AGLBRANCH" ; then - SDKBASEURL="https://download.automotivelinux.org/AGL/release/chinook/latest/${TARGETSDKMACHINE}/deploy/sdk/" -fi +# special case for dab if test x"dab" = x"$AGLBRANCH" ; then if test x"dragonboard-410c" = x"$TARGETSDKMACHINE"; then echo "Skipping dragonboard-410c/aarch64 .... " @@ -32,6 +31,7 @@ if test x"dab" = x"$AGLBRANCH" ; then fi + export TARGETSDKNAME=$(curl -s "$SDKBASEURL" | grep -e "crosssdk.*\.sh<" | sed -e "s#.*<a href=\"##g" -e "s#\">poky-agl.*##g") if test x"" = x"${TARGETSDKNAME}" ; then |