summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-30 17:09:08 +0200
committerGitHub <noreply@github.com>2024-09-30 17:09:08 +0200
commit47de7d41035ac2431c48ec762145254dc638df55 (patch)
treef3e61f4ae8c00ebfdb87aceaca37033df1073bbe
parenteff99f5eda19d5ddf324eb01abcc68577d942e62 (diff)
parente41d2f12b9e04b9006db852dd8bdc7c21174ae67 (diff)
downloadvyos-build-47de7d41035ac2431c48ec762145254dc638df55.tar.gz
vyos-build-47de7d41035ac2431c48ec762145254dc638df55.zip
Merge pull request #773 from dmbaturin/T6738-build-type-field
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 a783a2d4..b1e6b6f3 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'],