summaryrefslogtreecommitdiff
path: root/scripts/image-build/raw_image.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-15 07:02:49 +0200
committerGitHub <noreply@github.com>2024-05-15 07:02:49 +0200
commiteff3d4aab60d5db66cf7dbb5876d66f9e3e3e715 (patch)
treeaf81f60280c15d37464d428467d5dd863b45695b /scripts/image-build/raw_image.py
parentfabf5326b80519cee6a335a80d44d82a59550e3c (diff)
parent31b720b8f100670f0e933dfbf9993a5315f5a904 (diff)
downloadvyos-build-eff3d4aab60d5db66cf7dbb5876d66f9e3e3e715.tar.gz
vyos-build-eff3d4aab60d5db66cf7dbb5876d66f9e3e3e715.zip
Merge pull request #620 from zdc/T3664-circinus
build-script: T3664: Add flavor and architecture to image name (rework)
Diffstat (limited to 'scripts/image-build/raw_image.py')
-rw-r--r--scripts/image-build/raw_image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/image-build/raw_image.py b/scripts/image-build/raw_image.py
index 27fb27ab..5068ba1b 100644
--- a/scripts/image-build/raw_image.py
+++ b/scripts/image-build/raw_image.py
@@ -201,7 +201,7 @@ def create_raw_image(build_config, iso_file, work_dir):
con.build_config = build_config
version_data = read_version_data(con.iso_dir)
version = version_data['version']
- raw_file = f"vyos-{version}.raw"
+ raw_file = f"vyos-{version}-{build_config['build_flavor']}-{build_config['architecture']}.raw"
print(f"I: Building raw file {raw_file}")
create_disk(raw_file, build_config["disk_size"])
setup_loop_device(con, raw_file)