diff options
author | 2019-08-21 18:00:22 +0200 | |
---|---|---|
committer | 2019-08-21 18:00:22 +0200 | |
commit | e1c361d397d5ebc2901d053b79c86bcf6aea516b (patch) | |
tree | eefaddb68d6952f98e187293e2f0c3bbb2e142d3 /jjb/common/include-apps-fetch-install-sdk.sh | |
parent | a65054346a64c44e35c42056f72bd672ec29ae17 (diff) |
Change sdk URL to use mirror.automotivelinux.org
Download.automotivelinux.org forwards now to mirrors.kernel.org and this displays short filenames (sigh).
This to have the full SDK filename we use the direct url to our download server.
Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
Change-Id: Ie268e7875ad1e095b6f49ca593de86f390d1688e
Diffstat (limited to 'jjb/common/include-apps-fetch-install-sdk.sh')
-rw-r--r-- | jjb/common/include-apps-fetch-install-sdk.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/jjb/common/include-apps-fetch-install-sdk.sh b/jjb/common/include-apps-fetch-install-sdk.sh index 42847c4f..f91a6836 100644 --- a/jjb/common/include-apps-fetch-install-sdk.sh +++ b/jjb/common/include-apps-fetch-install-sdk.sh @@ -19,13 +19,14 @@ if test x"albacore" = x"$AGLBRANCH"; then echo "Unsupported branch"; exit 0; fi if test x"blowfish" = x"$AGLBRANCH"; then echo "Unsupported branch"; exit 0; fi if test x"chinook" = x"$AGLBRANCH"; then echo "Unsupported branch"; exit 0; fi if test x"dab" = x"$AGLBRANCH"; then echo "Unsupported branch"; exit 0; fi +set +x # default to release -SDKBASEURL="http://download.automotivelinux.org/AGL/release/${AGLBRANCH}/latest/${TARGETSDKMACHINE}/deploy/sdk/" +SDKBASEURL="http://mirror.automotivelinux.org/AGL/release/${AGLBRANCH}/latest/${TARGETSDKMACHINE}/deploy/sdk/" # but master uses snapshot if test x"master" = x"$AGLBRANCH" ; then - SDKBASEURL="http://download.automotivelinux.org/AGL/snapshots/master/latest/${TARGETSDKMACHINE}/deploy/sdk/" + SDKBASEURL="http://mirror.automotivelinux.org/AGL/snapshots/master/latest/${TARGETSDKMACHINE}/deploy/sdk/" fi # special case for dab if test x"dab" = x"$AGLBRANCH" ; then @@ -33,7 +34,7 @@ if test x"dab" = x"$AGLBRANCH" ; then echo "Skipping aarch64 .... " exit 0 fi - SDKBASEURL="http://download.automotivelinux.org/AGL/release/dab/latest/${TARGETSDKMACHINE}/deploy/sdk/" + SDKBASEURL="http://mirror.automotivelinux.org/AGL/release/dab/latest/${TARGETSDKMACHINE}/deploy/sdk/" fi @@ -46,7 +47,7 @@ if test x"" = x"${TARGETSDKNAME}" ; then exit 0 #exit 1 fi - +set -x if test ! -f ${TARGETSDKNAME} ; then echo "Downloading $TARGETSDKNAME for $MACHINE" wget -nd -c "${SDKBASEURL}/${TARGETSDKNAME}" |