From 9bdaec6a2113c4c318f419d674e213d1b116c1b7 Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Sun, 19 Jun 2022 15:12:38 -0500 Subject: [PATCH] fix: use armhf architecture in linux packages (#2514) --- scripts/package.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/package.sh b/scripts/package.sh index 0dc7d35036..a9135f732f 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -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