summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-05-14 15:38:36 +0200
committerGitHub <noreply@github.com>2024-05-14 15:38:36 +0200
commitfe1bb96c4d68b7ad21e325ce61cbd901efe9836c (patch)
treee5406a09ef0295805a439f2e01dab09351357e48
parent3463386246a9ac71340707268e7174f730616e49 (diff)
parent5cbd14cc0f9a55e427d4bc13f036ea32da9a06aa (diff)
downloadvyos-build-fe1bb96c4d68b7ad21e325ce61cbd901efe9836c.tar.gz
vyos-build-fe1bb96c4d68b7ad21e325ce61cbd901efe9836c.zip
Merge pull request #616 from zdc/T3664-circinus
build-script: T3664: Added flavor name to a target file name
-rwxr-xr-xscripts/image-build/build-vyos-image2
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}")