diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-10-16 18:21:07 +0200 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-10-17 18:58:14 +0200 |
commit | 8921515b7f611902644ccdd6715a88c160d7f55b (patch) | |
tree | ca1992ba00c0b34ef26e73ab5e4662c7bf957d8d | |
parent | e637823e41ad922f8d9787ff6f5045b720f53cb3 (diff) |
[CICN-22] Impossible to push arm packages in packagecloud
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Change-Id: I12f3c22537b9bd02e130e841c9cbc2c0ab87ce0c
-rw-r--r-- | libparc/scripts/build-package.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |