Skip to content

Commit 9bdaec6

Browse files
authored
fix: use armhf architecture in linux packages (#2514)
1 parent 153ffc0 commit 9bdaec6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/package.sh

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ if [[ "$version" == "" ]]; then
5959
version="$(execrelative ./version.sh)"
6060
fi
6161

62+
# armv7 isn't a real architecture, so we need to remap it to armhf.
63+
if [[ "$arch" == "arm" ]] || [[ "$arch" == "armv7" ]]; then
64+
arch="armhf"
65+
fi
66+
6267
# Make temporary dir where all source files intended to be in the package will
6368
# be hardlinked from.
6469
cdroot

0 commit comments

Comments
 (0)