Skip to content

Commit

Permalink
build: T6738: add build_type field to version data
Browse files Browse the repository at this point in the history
instead of the very limited and unused lts_build

(cherry picked from commit e41d2f1)
  • Loading branch information
dmbaturin authored and mergify[bot] committed Sep 30, 2024
1 parent 4ca1736 commit 3f6959d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/image-build/build-vyos-image
Original file line number Diff line number Diff line change
Expand Up @@ -413,11 +413,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"],
Expand All @@ -428,7 +423,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'],
Expand Down

0 comments on commit 3f6959d

Please sign in to comment.