Skip to content

Commit

Permalink
Merge pull request #616 from zdc/T3664-circinus
Browse files Browse the repository at this point in the history
build-script: T3664: Added flavor name to a target file name
  • Loading branch information
dmbaturin authored May 14, 2024
2 parents 3463386 + 5cbd14c commit fe1bb96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/image-build/build-vyos-image
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

0 comments on commit fe1bb96

Please sign in to comment.