summaryrefslogtreecommitdiff
path: root/packages/aws-gateway-load-balancer-tunnel-handler/build.sh
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-09-09 13:26:04 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-09-09 13:26:04 +0000
commit4bac19fcfd0739e5e4271a0e8b2fde84eff2712f (patch)
tree2b9600b2c2fcdecfec24bcae4a57c2633637de24 /packages/aws-gateway-load-balancer-tunnel-handler/build.sh
parenta863fe0b03cd2eb062eb97c5e47992b4e8e999c6 (diff)
downloadvyos-build-4bac19fcfd0739e5e4271a0e8b2fde84eff2712f.tar.gz
vyos-build-4bac19fcfd0739e5e4271a0e8b2fde84eff2712f.zip
T5261: Rewrite build aws-gwlbtun to python3 and add arch arm64
Rewrite build package `aws-gwlbtun` to python3 Add build package for architecrute `arm64`
Diffstat (limited to 'packages/aws-gateway-load-balancer-tunnel-handler/build.sh')
-rwxr-xr-xpackages/aws-gateway-load-balancer-tunnel-handler/build.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/packages/aws-gateway-load-balancer-tunnel-handler/build.sh b/packages/aws-gateway-load-balancer-tunnel-handler/build.sh
deleted file mode 100755
index d4feb6ac..00000000
--- a/packages/aws-gateway-load-balancer-tunnel-handler/build.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-CWD=$(pwd)
-set -e
-
-SRC=aws-gateway-load-balancer-tunnel-handler
-
-if [ ! -d ${SRC} ]; then
- echo "${SRC} directory does not exists, please 'git clone'"
- exit 1
-fi
-
-# Navigate to the repository directory
-cd ${SRC}
-
-# Build the binary
-cmake .
-make
-
-# Create the Debian package directory structure
-mkdir -p aws-gwlbtun/DEBIAN
-mkdir -p aws-gwlbtun/usr/bin
-
-# Move the binary to the package directory
-cp gwlbtun aws-gwlbtun/usr/bin
-
-# Create the control file
-cat <<EOL > aws-gwlbtun/DEBIAN/control
-Package: aws-gwlbtun
-Version: 1-eb51d33
-Architecture: amd64
-Maintainer: VyOS Maintainers autobuild@vyos.net
-Description: AWS Gateway Load Balancer Tunnel Handler
-EOL
-
-# Build the Debian package
-dpkg-deb --build aws-gwlbtun
-
-cp *.deb ${CWD}