fix: use armhf architecture in linux packages (#2514)

This commit is contained in:
Dean Sheather
2022-06-20 06:12:38 +10:00
committed by GitHub
parent 153ffc0ee9
commit 9bdaec6a21
+5
View File
@@ -59,6 +59,11 @@ if [[ "$version" == "" ]]; then
version="$(execrelative ./version.sh)"
fi
# armv7 isn't a real architecture, so we need to remap it to armhf.
if [[ "$arch" == "arm" ]] || [[ "$arch" == "armv7" ]]; then
arch="armhf"
fi
# Make temporary dir where all source files intended to be in the package will
# be hardlinked from.
cdroot