summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzdc <zdc@users.noreply.github.com>2023-09-15 12:18:28 +0300
committerGitHub <noreply@github.com>2023-09-15 12:18:28 +0300
commit411d7bacac45e87925aca3857adec6e4733ab16a (patch)
treea7234327188260421a0a93efbb5cd81923e03124
parent68256f4c41dcaeb4b19028f5d572f9d0d3ff3e23 (diff)
parentffb07edf0ee4a6f72d9a57847ead2aca402dba35 (diff)
downloadvyos-build-411d7bacac45e87925aca3857adec6e4733ab16a.tar.gz
vyos-build-411d7bacac45e87925aca3857adec6e4733ab16a.zip
Merge pull request #410 from sever-sever/T5261-build
T5261: aws-gwlbtun prepare_package must be before build package
-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)