os-release: Add VERSION_CODENAME field (#3445)

System Internals / systemd - Benjamin Drung [debian.org] - 6 June 2016 15:05 UTC

Debian and their derivatives (Ubuntu, Trisquel, etc.) use a code name for their repositories. Thus record the code name in os-release for processing.

Closes systemd/systemd#3429

###

diff --git a/man/os-release.xml b/man/os-release.xml
index 4557abc..99bbb61 100644
--- a/man/os-release.xml
+++ b/man/os-release.xml
@@ -176,6 +176,22 @@



+ VERSION_CODENAME=
+
+
+ A lower-case string (no spaces or other characters outside of
+ 0–9, a–z, ".", "_" and "-") identifying the operating system
+ release code name, excluding any OS name information or
+ release version, and suitable for processing by scripts or
+ usage in generated filenames. This field is optional and may
+ not be implemented on all systems.
+ Examples:
+ VERSION_CODENAME=buster,
+ VERSION_CODENAME=xenial
+

+

+
+
VERSION_ID=

A lower-case string (mostly numeric, no spaces

646b997 os-release: Add VERSION_CODENAME field (#3445)
man/os-release.xml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

Upstream: github.com


  • Share