diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-08-31 13:55:56 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-08-31 14:35:32 +0000 |
commit | 8735d0d83d9baddd37f18e4f4bae4ac54e185683 (patch) | |
tree | d7d7e47328bb1a936ecb2f7aa82ac4fbadfe931b /packages/aws-gwlbtun/build.sh | |
parent | 50ca4b0bbecfd8f63d08bf54943c133ce1b1f3cb (diff) | |
download | vyos-build-8735d0d83d9baddd37f18e4f4bae4ac54e185683.tar.gz vyos-build-8735d0d83d9baddd37f18e4f4bae4ac54e185683.zip |
T5261: Update aws-gwlbtun packet
Diffstat (limited to 'packages/aws-gwlbtun/build.sh')
-rwxr-xr-x | packages/aws-gwlbtun/build.sh | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/packages/aws-gwlbtun/build.sh b/packages/aws-gwlbtun/build.sh deleted file mode 100755 index d4feb6ac..00000000 --- a/packages/aws-gwlbtun/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} |