summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrii Klymenko <a.klymenko@vyos.io>2025-08-29 13:09:09 +0300
committerGitHub <noreply@github.com>2025-08-29 13:09:09 +0300
commit04d0ef1b53caa7a960bfc963e18289112f936b5f (patch)
treeb610d675434be6dce916f50f6e8c391b36c49e98 /scripts
parent16a76cd94a803c8c779354ec0bfdb9bd3baae01e (diff)
downloadvyos-build-04d0ef1b53caa7a960bfc963e18289112f936b5f.tar.gz
vyos-build-04d0ef1b53caa7a960bfc963e18289112f936b5f.zip
T7763: Modify the amazon-ssm-agent build script
Diffstat (limited to 'scripts')
-rw-r--r--scripts/package-build/amazon-ssm-agent/package.toml10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/package-build/amazon-ssm-agent/package.toml b/scripts/package-build/amazon-ssm-agent/package.toml
index ecd2fdf6..56ab59c5 100644
--- a/scripts/package-build/amazon-ssm-agent/package.toml
+++ b/scripts/package-build/amazon-ssm-agent/package.toml
@@ -9,8 +9,14 @@ ARCH=$(dpkg --print-architecture)
TAG=$(git describe --tags --abbrev=0)
COMMIT=$(git rev-parse --short HEAD)
-make build-linux
-make package-deb
+if [ "${ARCH}" = "arm64" ]; then
+ make build-arm64
+ make package-deb-arm64
+else
+ make build-linux
+ make package-deb
+fi
+
cp ./bin/debian_${ARCH}/*.deb ../amazon-ssm-agent_${TAG}_${COMMIT}_${ARCH}.deb
"""