summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-05-13 22:00:42 +0200
committerChristian Poessinger <christian@poessinger.com>2019-05-13 22:02:36 +0200
commitd77a3e3cf82f2a11601d93a9c6856cb52031ba37 (patch)
treea8aa3152b52ea1e379dd2ef800fe0de114353aed
parentb5590ef4f739f53be93fc1f50187e01654fc2310 (diff)
downloadvyos-1x-d77a3e3cf82f2a11601d93a9c6856cb52031ba37.tar.gz
vyos-1x-d77a3e3cf82f2a11601d93a9c6856cb52031ba37.zip
T1378: extend version file with Git commit ID
The Git commit ID will be crucial for the future when the full VyOS build can be reproduced by the one Git commit ID, thus start recording it in the version file. (cherry picked from commit a8b5fae5581c03c5037c5fdc840be3e5bf984484)
-rwxr-xr-xsrc/op_mode/version.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/op_mode/version.py b/src/op_mode/version.py
index ce3b3b54f..5aff0f767 100755
--- a/src/op_mode/version.py
+++ b/src/op_mode/version.py
@@ -51,7 +51,8 @@ version_output_tmpl = """
Version: VyOS {{version}}
Built by: {{built_by}}
Built on: {{built_on}}
-Build ID: {{build_id}}
+Build UUID: {{build_uuid}}
+Build Commit ID: {{build_git}}
Architecture: {{system_arch}}
Boot via: {{boot_via}}