summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2022-10-30 14:31:04 -0400
committerDaniil Baturin <daniil@vyos.io>2022-10-30 14:31:04 -0400
commitf39f4d1f23c5b54273ba483a7c8bf43fd1d521ec (patch)
tree88b2360b19787e83aa167430c55eea988251f682 /scripts
parent25a60f3d91307eefa02ee3fabbe675f4c4cb4bd4 (diff)
downloadvyos-build-f39f4d1f23c5b54273ba483a7c8bf43fd1d521ec.tar.gz
vyos-build-f39f4d1f23c5b54273ba483a7c8bf43fd1d521ec.zip
T3664: dehardcode fields of the OS release file
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-vyos-image8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build-vyos-image b/scripts/build-vyos-image
index 5d0248a0..1406aec9 100755
--- a/scripts/build-vyos-image
+++ b/scripts/build-vyos-image
@@ -328,11 +328,11 @@ if __name__ == "__main__":
NAME="VyOS"
VERSION_ID="{version}"
VERSION="{version} ({build_config['release_train']})"
- VERSION_CODENAME=buster
+ VERSION_CODENAME={build_defaults['debian_distribution']}
ID=vyos
- HOME_URL="https://vyos.io"
- SUPPORT_URL="https://support.vyos.io"
- BUG_REPORT_URL="https://phabricator.vyos.net"
+ HOME_URL="{build_defaults['website_url']}"
+ SUPPORT_URL="{build_defaults['support_url']}"
+ BUG_REPORT_URL="{build_defaults['bugtracker_url']}"
"""
chroot_includes_dir = os.path.join(defaults.BUILD_DIR, defaults.CHROOT_INCLUDES_DIR)