From ce18208904dba61cddacb6d41a54d3492b9d9d72 Mon Sep 17 00:00:00 2001 From: zsdc Date: Tue, 14 May 2024 14:46:08 +0300 Subject: build-script: T3664: Added flavor name to a target file name Mark artifacts with a flavor name for better clarity. (cherry picked from commit 5cbd14cc0f9a55e427d4bc13f036ea32da9a06aa) --- scripts/image-build/build-vyos-image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/image-build/build-vyos-image b/scripts/image-build/build-vyos-image index 62cbae0c..5bf5803d 100755 --- a/scripts/image-build/build-vyos-image +++ b/scripts/image-build/build-vyos-image @@ -645,6 +645,6 @@ Pin-Priority: 600 for f in other_formats: image_ext = build_config.get("image_ext", f) image_opts = build_config.get("image_opts", "") - target = f"{os.path.splitext(raw_image)[0]}.{image_ext}" + target = f"{os.path.splitext(raw_image)[0]}-{build_config['build_flavor']}.{image_ext}" print(f"I: Building {f} file {target}") cmd(f"qemu-img convert -f raw -O {f} {image_opts} {raw_image} {target}") -- cgit v1.2.3