diff options
author | John Estabrook <jestabro@vyos.io> | 2024-05-14 08:53:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-14 08:53:37 -0500 |
commit | 195c29215458fa522646071ffbab09128cbd4461 (patch) | |
tree | 64bde19bb6df7894cebc9d789467ee1c447e458a | |
parent | 65282cef38b3adb356266023f5e91bd41b2ef071 (diff) | |
parent | ce18208904dba61cddacb6d41a54d3492b9d9d72 (diff) | |
download | vyos-build-195c29215458fa522646071ffbab09128cbd4461.tar.gz vyos-build-195c29215458fa522646071ffbab09128cbd4461.zip |
Merge pull request #617 from vyos/mergify/bp/sagitta/pr-616
build-script: T3664: Added flavor name to a target file name (backport #616)
-rwxr-xr-x | scripts/image-build/build-vyos-image | 2 |
1 files changed, 1 insertions, 1 deletions
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}") |