mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
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
This commit is contained in:
parent
bdc49d4491
commit
646b997c11
@ -175,6 +175,22 @@
|
||||
appropriate.</para></listitem>
|
||||
</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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user