mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Merge pull request #877 from c-po/os-release-T7019
T7019: use VyOS release train in /etc/os-release codename over Debian release
This commit is contained in:
commit
aeb94b726f
@ -107,7 +107,7 @@ with open('build/manifest.json', 'rb') as f:
|
||||
manifest = json.load(f)
|
||||
|
||||
vyos_version = manifest['build_config']['version']
|
||||
vyos_codename = manifest['build_config']['debian_distribution']
|
||||
vyos_codename = manifest['build_config']['release_train']
|
||||
|
||||
class StreamToLogger(object):
|
||||
"""
|
||||
|
||||
@ -462,7 +462,7 @@ if __name__ == "__main__":
|
||||
NAME="VyOS"
|
||||
VERSION_ID="{version}"
|
||||
VERSION="{version} ({build_config['release_train']})"
|
||||
VERSION_CODENAME={build_defaults['debian_distribution']}
|
||||
VERSION_CODENAME={build_defaults['release_train']}
|
||||
ID=vyos
|
||||
BUILD_ID="{build_git}"
|
||||
HOME_URL="{build_defaults['website_url']}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user