summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2024-09-25 11:50:48 +0100
committerDaniil Baturin <daniil@baturin.org>2024-09-25 11:50:48 +0100
commite41d2f12b9e04b9006db852dd8bdc7c21174ae67 (patch)
treef605107cf6cea46e83d17d27cd4be75b5ad792c7
parentfa50a5073b6d3f3bf1f213603c43373f5a980801 (diff)
downloadvyos-build-e41d2f12b9e04b9006db852dd8bdc7c21174ae67.tar.gz
vyos-build-e41d2f12b9e04b9006db852dd8bdc7c21174ae67.zip
build: T6738: add build_type field to version data
instead of the very limited and unused lts_build
-rwxr-xr-xscripts/image-build/build-vyos-image7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/image-build/build-vyos-image b/scripts/image-build/build-vyos-image
index c1711a5c..7eb80883 100755
--- a/scripts/image-build/build-vyos-image
+++ b/scripts/image-build/build-vyos-image
@@ -432,11 +432,6 @@ if __name__ == "__main__":
# Release build, use the version from ./configure arguments
version = build_config['version']
- if build_config['build_type'] == 'development':
- lts_build = False
- else:
- lts_build = True
-
version_data = {
'version': version,
'flavor': build_config["build_flavor"],
@@ -447,7 +442,7 @@ if __name__ == "__main__":
'build_branch': git_branch,
'release_train': build_config['release_train'],
'architecture': build_config['architecture'],
- 'lts_build': lts_build,
+ 'build_type': build_config['build_type'],
'build_comment': build_config['build_comment'],
'bugtracker_url': build_config['bugtracker_url'],
'documentation_url': build_config['documentation_url'],