mirror of
https://github.com/AuxXxilium/synology-wireguard.git
synced 2024-11-23 15:01:05 +07:00
Fix build with DSM 7.1 and 7.2
Signed-off-by: AuxXxilium <info@auxxxilium.tech> # Conflicts: # release.sh
This commit is contained in:
parent
b48791e42b
commit
42172bcaeb
13
release.sh
13
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
|
||||
|
Loading…
Reference in New Issue
Block a user