summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@debian.org>2016-06-06 22:05:29 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-06 22:05:29 +0200
commit646b997c118e261c5ececc434dd40d0dbdbac4d8 (patch)
tree1389c1de6ad776cd28cdfb9297335dab609e8ae7 /man
parentbdc49d4491da97f7821c34740bcfd26d472085a0 (diff)
os-release: Add VERSION_CODENAME field (#3445)
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
Diffstat (limited to 'man')
-rw-r--r--man/os-release.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/man/os-release.xml b/man/os-release.xml
index 4557abc4a3..99bbb61004 100644
--- a/man/os-release.xml
+++ b/man/os-release.xml
@@ -176,6 +176,22 @@
</varlistentry>
<varlistentry>
+ <term><varname>VERSION_CODENAME=</varname></term>
+
+ <listitem><para>
+ 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:
+ <literal>VERSION_CODENAME=buster</literal>,
+ <literal>VERSION_CODENAME=xenial</literal>
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>VERSION_ID=</varname></term>
<listitem><para>A lower-case string (mostly numeric, no spaces