summaryrefslogtreecommitdiff
path: root/packages/aws-gateway-load-balancer-tunnel-handler
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-09-15 09:04:30 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-09-15 09:15:02 +0000
commitffb07edf0ee4a6f72d9a57847ead2aca402dba35 (patch)
treea7234327188260421a0a93efbb5cd81923e03124 /packages/aws-gateway-load-balancer-tunnel-handler
parent494e01ec4f701e2b7004f801f04fd827048efb79 (diff)
downloadvyos-build-ffb07edf0ee4a6f72d9a57847ead2aca402dba35.tar.gz
vyos-build-ffb07edf0ee4a6f72d9a57847ead2aca402dba35.zip
T5261: aws-gwlbtun prepare_package must be before build package
Fix build `aws-gwlbtun` package Prepore must be before build
Diffstat (limited to 'packages/aws-gateway-load-balancer-tunnel-handler')
-rwxr-xr-xpackages/aws-gateway-load-balancer-tunnel-handler/build.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/aws-gateway-load-balancer-tunnel-handler/build.py b/packages/aws-gateway-load-balancer-tunnel-handler/build.py
index 7f5c5357..9007b922 100755
--- a/packages/aws-gateway-load-balancer-tunnel-handler/build.py
+++ b/packages/aws-gateway-load-balancer-tunnel-handler/build.py
@@ -6,7 +6,7 @@ from subprocess import run
def prepare_package() -> None:
- """Prepare a package for Noned
+ """Prepare a package
"""
install_file = Path('./debian/install')
install_data = 'obj-x86_64-linux-gnu/gwlbtun usr/sbin'
@@ -31,6 +31,8 @@ def build_package(package_name: str, package_ver: str) -> bool:
]
run(debmake_cmd)
+ prepare_package()
+
# build a package
run('debuild')
@@ -49,8 +51,6 @@ if __name__ == '__main__':
help='Version for the package')
args = arg_parser.parse_args()
- prepare_package()
-
if not build_package(args.package, args.version):
exit(1)