mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2024-11-22 02:51:35 +01:00
Add arm64 support
This commit is contained in:
parent
0ae8f8f87f
commit
a9d9989b49
5
conf/source/arm64.src
Normal file
5
conf/source/arm64.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.13.0/gitea-1.13.0-linux-arm64
|
||||||
|
SOURCE_SUM=630881e79b18580e81d998c93ad81cc4e44204fb4391c787e07706406fbbb709
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.0.src
Normal file
5
conf/source/arm64_1.0.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.0.2/gitea-1.0.2-linux-arm64
|
||||||
|
SOURCE_SUM=b13562f19c41602d2b4f1601931e9d150de8273682969c081a4a5029622eb8b3
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.1.src
Normal file
5
conf/source/arm64_1.1.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.1.4/gitea-1.1.4-linux-arm64
|
||||||
|
SOURCE_SUM=3f7a01669bbad671907942cece744f12390a37771fd8e1142afffeb9ee1f31f7
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.10.src
Normal file
5
conf/source/arm64_1.10.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.10.3/gitea-1.10.3-linux-arm64
|
||||||
|
SOURCE_SUM=3a0b6470a205c6b9f19a8b31469728f29818c58dd17e85a81ac4a928ab9f9512
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.11.src
Normal file
5
conf/source/arm64_1.11.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.11.7/gitea-1.11.7-linux-arm64
|
||||||
|
SOURCE_SUM=71bc3b41955461491ca3b1a1e4abeaf70dc0cbd15e43e59e2178514b8f1ef0f8
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.12.src
Normal file
5
conf/source/arm64_1.12.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.12.6/gitea-1.12.6-linux-arm64
|
||||||
|
SOURCE_SUM=b1e4620191d817b6d6975358c35197bf659bce04a5690bea2d1e6511054d0866
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.2.src
Normal file
5
conf/source/arm64_1.2.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.2.3/gitea-1.2.3-linux-arm64
|
||||||
|
SOURCE_SUM=e779d43f2050c43138509a40540bdd4d16a11e8b76a6f66b447623ead6466fca
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.3.src
Normal file
5
conf/source/arm64_1.3.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.3.3/gitea-1.3.3-linux-arm64
|
||||||
|
SOURCE_SUM=348993e5fd119b6708b96a29067ddc41d8fefe4c0d5abf540d1e89e9886202ce
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.4.src
Normal file
5
conf/source/arm64_1.4.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.4.3/gitea-1.4.3-linux-arm64
|
||||||
|
SOURCE_SUM=af6a55516b94f5bfb7a9744086bd92124e6cba8c3d610935e5fe4c8ba42427ef
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.5.src
Normal file
5
conf/source/arm64_1.5.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.5.3/gitea-1.5.3-linux-arm64
|
||||||
|
SOURCE_SUM=cdddf46e1711c7964cfd18b4ae37109d4865996b26426d4badaa78da969cfbae
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.6.src
Normal file
5
conf/source/arm64_1.6.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.6.4/gitea-1.6.4-linux-arm64
|
||||||
|
SOURCE_SUM=30252ca0adf170e84f52499a502195ad762f4fdca941f40ded80292790eaa2d3
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.7.src
Normal file
5
conf/source/arm64_1.7.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.7.3/gitea-1.7.3-linux-arm64
|
||||||
|
SOURCE_SUM=dc34250ddbcdf3096a7355db419fff615d7fd488e0336bec9bc880091f549c23
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.8.src
Normal file
5
conf/source/arm64_1.8.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.8.3/gitea-1.8.3-linux-arm64
|
||||||
|
SOURCE_SUM=e3569745122a793dbf1e86940a00c8843c0c3022513a9d9004593823b9e6abe1
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
5
conf/source/arm64_1.9.src
Normal file
5
conf/source/arm64_1.9.src
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.9.6/gitea-1.9.6-linux-arm64
|
||||||
|
SOURCE_SUM=f11e46fdca921e81255c4b052969e5c6085f24245e6e0da726c9627aaec78252
|
||||||
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
SOURCE_FILENAME=gitea
|
||||||
|
SOURCE_EXTRACT=false
|
@ -14,14 +14,16 @@ SSH_PATH="$DATADIR/.ssh"
|
|||||||
# Detect the system architecture to download the right tarball
|
# Detect the system architecture to download the right tarball
|
||||||
# NOTE: `uname -m` is more accurate and universal than `arch`
|
# NOTE: `uname -m` is more accurate and universal than `arch`
|
||||||
# See https://en.wikipedia.org/wiki/Uname
|
# See https://en.wikipedia.org/wiki/Uname
|
||||||
if [ -n "$(uname -m | grep 64)" ]; then
|
if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep aarch64)" ]; then
|
||||||
architecture="x86-64"
|
architecture="arm64"
|
||||||
|
elif [ -n "$(uname -m | grep 64)" ]; then
|
||||||
|
architecture="x86-64"
|
||||||
elif [ -n "$(uname -m | grep 86)" ]; then
|
elif [ -n "$(uname -m | grep 86)" ]; then
|
||||||
architecture="i386"
|
architecture="i386"
|
||||||
elif [ -n "$(uname -m | grep armv7)" ]; then
|
elif [ -n "$(uname -m | grep armv7)" ]; then
|
||||||
architecture="armv7"
|
architecture="armv7"
|
||||||
elif [ -n "$(uname -m | grep arm)" ]; then
|
elif [ -n "$(uname -m | grep arm)" ]; then
|
||||||
architecture="arm"
|
architecture="arm"
|
||||||
else
|
else
|
||||||
ynh_die --message "Unable to detect your achitecture, please open a bug describing \
|
ynh_die --message "Unable to detect your achitecture, please open a bug describing \
|
||||||
your hardware and the result of the command \"uname -m\"." 1
|
your hardware and the result of the command \"uname -m\"." 1
|
||||||
|
Loading…
Reference in New Issue
Block a user