From 42172bcaeb42b7dfb8826fffdfaa8ebfa8ed2818 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Fri, 22 Sep 2023 18:00:13 +0200 Subject: [PATCH] Fix build with DSM 7.1 and 7.2 Signed-off-by: AuxXxilium # Conflicts: # release.sh --- release.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/release.sh b/release.sh index 6415f33..6392016 100755 --- a/release.sh +++ b/release.sh @@ -1,5 +1,5 @@ #!/bin/bash -VERSIONS=(6.2 7.0 7.1 7.2) +VERSIONS=(7.0 7.1 7.2) ARCHS=( "apollolake" "armada38x" @@ -13,9 +13,7 @@ ARCHS=( "geminilake" "kvmx64" "monaco" - "r1000" "rtd1296" - "rtd1619b" "x64" ) @@ -30,17 +28,18 @@ fi # Download all necessary tarballs before calling into the docker containers. echo "Downloading environment tarballs" for ver in ${VERSIONS[@]}; do - url_base="https://sourceforge.net/projects/dsgpl/files/toolkit/DSM$ver" + url_base="https://global.synologydownload.com/download/ToolChain/toolkit/$ver" + mkdir -p toolkit_tarballs pushd toolkit_tarballs/ if [ ! -f base_env-$ver.txz ]; then - wget -q --show-progress "$url_base/base_env-$ver.txz" + wget -q --show-progress "$url_base/base/base_env-$ver.txz" fi for arch in ${ARCHS[@]}; do if [ ! -f ds.$arch-$ver.dev.txz ]; then - wget -q --show-progress "$url_base/ds.$arch-$ver.dev.txz" + wget -q --show-progress "$url_base/$arch/ds.$arch-$ver.dev.txz" fi if [ ! -f ds.$arch-$ver.env.txz ]; then - wget -q --show-progress "$url_base/ds.$arch-$ver.env.txz" + wget -q --show-progress "$url_base/$arch/ds.$arch-$ver.env.txz" fi done popd