From 8921515b7f611902644ccdd6715a88c160d7f55b Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Wed, 16 Oct 2019 18:21:07 +0200 Subject: [CICN-22] Impossible to push arm packages in packagecloud Signed-off-by: Angelo Mantellini Change-Id: I12f3c22537b9bd02e130e841c9cbc2c0ab87ce0c --- libparc/scripts/build-package.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libparc/scripts/build-package.sh b/libparc/scripts/build-package.sh index 23941b3c..42de8d40 100644 --- a/libparc/scripts/build-package.sh +++ b/libparc/scripts/build-package.sh @@ -2,7 +2,6 @@ # basic build script example set -euxo pipefail IFS=$'\n\t' - SCRIPT_PATH=$( cd "$(dirname "${BASH_SOURCE}")" ; pwd -P ) APT_PATH=`which apt-get` || true apt_get=${APT_PATH:-"/usr/local/bin/apt-get"} @@ -116,6 +115,8 @@ build_package() { if [ "$ARCHITECTURE" == "x86_64" ]; then ARCHITECTURE="amd64" + elif [ "$ARCHITECTURE" == "aarch64" ]; then + ARCHITECTURE="arm64" fi elif [ -f /etc/redhat-release ];then -- cgit 1.2.3-korg