summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-08-31 18:48:11 +0200
committerGitHub <noreply@github.com>2025-08-31 18:48:11 +0200
commit242c1a587acac68cbb713c92dfb60d6954c4f079 (patch)
treeb610d675434be6dce916f50f6e8c391b36c49e98 /scripts
parent16a76cd94a803c8c779354ec0bfdb9bd3baae01e (diff)
parent04d0ef1b53caa7a960bfc963e18289112f936b5f (diff)
downloadvyos-build-242c1a587acac68cbb713c92dfb60d6954c4f079.tar.gz
vyos-build-242c1a587acac68cbb713c92dfb60d6954c4f079.zip
Merge pull request #1020 from asklymenko/patch-2
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
"""