From 4f1e4787e247add28e63978af2abcd7ae3d5ab05 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Tue, 2 Jan 2018 16:53:58 +0100 Subject: Apply new folder structure for application repository MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5937215900d8310947e5a7a1e6e247abda0703b8 Signed-off-by: Jan-Simon Möller --- jjb/common/include-apps-fetch-install-sdk.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'jjb/common/include-apps-fetch-install-sdk.sh') 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#.*poky-agl.*##g") if test x"" = x"${TARGETSDKNAME}" ; then -- cgit 1.2.3-korg