From ffb07edf0ee4a6f72d9a57847ead2aca402dba35 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Fri, 15 Sep 2023 09:04:30 +0000 Subject: T5261: aws-gwlbtun prepare_package must be before build package Fix build `aws-gwlbtun` package Prepore must be before build --- packages/aws-gateway-load-balancer-tunnel-handler/build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/aws-gateway-load-balancer-tunnel-handler') 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) -- cgit v1.2.3