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
|
#!/bin/bash
|
||||||
VERSIONS=(6.2 7.0 7.1 7.2)
|
VERSIONS=(7.0 7.1 7.2)
|
||||||
ARCHS=(
|
ARCHS=(
|
||||||
"apollolake"
|
"apollolake"
|
||||||
"armada38x"
|
"armada38x"
|
||||||
@ -13,9 +13,7 @@ ARCHS=(
|
|||||||
"geminilake"
|
"geminilake"
|
||||||
"kvmx64"
|
"kvmx64"
|
||||||
"monaco"
|
"monaco"
|
||||||
"r1000"
|
|
||||||
"rtd1296"
|
"rtd1296"
|
||||||
"rtd1619b"
|
|
||||||
"x64"
|
"x64"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -30,17 +28,18 @@ fi
|
|||||||
# Download all necessary tarballs before calling into the docker containers.
|
# Download all necessary tarballs before calling into the docker containers.
|
||||||
echo "Downloading environment tarballs"
|
echo "Downloading environment tarballs"
|
||||||
for ver in ${VERSIONS[@]}; do
|
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/
|
pushd toolkit_tarballs/
|
||||||
if [ ! -f base_env-$ver.txz ]; then
|
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
|
fi
|
||||||
for arch in ${ARCHS[@]}; do
|
for arch in ${ARCHS[@]}; do
|
||||||
if [ ! -f ds.$arch-$ver.dev.txz ]; then
|
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
|
fi
|
||||||
if [ ! -f ds.$arch-$ver.env.txz ]; then
|
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
|
fi
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user