summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-09 09:44:10 +0200
committerErich Eckner <git@eckner.net>2019-09-09 09:44:10 +0200
commited0bc1ce8710286d98b1ba79e4afc1e45b835abc (patch)
tree8df86426699bf1f1e9b20f9a4adda713f437c273
parenta4fa936ec7d8f3e21837e6c8d8f9c6eca322d7b7 (diff)
downloadarchlinuxewe-ed0bc1ce8710286d98b1ba79e4afc1e45b835abc.tar.xz
archPackagesUpdate: build aarch64, too
-rwxr-xr-xarchPackagesUpdate14
1 files changed, 8 insertions, 6 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index a6ec34a92..e55287d4d 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -323,6 +323,7 @@ if ${aufRechenknecht}; then
[ "${singleArch}" == "i686" ] || \
[ "${singleArch}" == "armv6h" ] || \
[ "${singleArch}" == "armv7h" ] || \
+ [ "${singleArch}" == "aarch64" ] || \
[ "${singleArch}" == "any" ] || \
continue
@@ -529,16 +530,17 @@ if ${aufRechenknecht}; then
sendmailadvanced -t
fi
;;
- 'armv6h'|'armv7h')
- # armv6h & armv7h is built on the raspberry pis
+ 'armv6h'|'armv7h'|'aarch64')
+ # armv6h & armv7h & aarch64 is built on the raspberry pis
SRCPKGDEST="${tmpDir}" makepkg -Sf
err[${i}]=$?
if [ ${err[${i}]} -eq 0 ]; then
+ arch_num=$(
+ printf '%s\n' "${arch}" \
+ | tr -d '[a-z]'
+ )
ssh eckner.net -p $((
- 21912 - $(
- printf '%s\n' "${arch}" \
- | tr -d '[a-z]'
- )*1000
+ (9375384 - 512375 * arch_num + 7625 * arch_num * arch_num) * 4 / 1653
)) "$(
printf 'set -e\n'
printf 'rm -rf --one-file-system build/*\n'