From 3f6959d782171e6ea52f4cad73d4062b5be9c9b3 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 25 Sep 2024 11:50:48 +0100 Subject: build: T6738: add build_type field to version data instead of the very limited and unused lts_build (cherry picked from commit e41d2f12b9e04b9006db852dd8bdc7c21174ae67) --- scripts/image-build/build-vyos-image | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/image-build/build-vyos-image b/scripts/image-build/build-vyos-image index c13d7607..56e765f7 100755 --- a/scripts/image-build/build-vyos-image +++ b/scripts/image-build/build-vyos-image @@ -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"], @@ -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'], -- cgit v1.2.3