diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-03-06 13:59:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-03-06 13:59:12 +0100 |
commit | e21aee149493ac510b1185030ffa1619f229ce08 (patch) | |
tree | bc322fbe4c45a098894b6a12d4b6405440bc3e3d /man | |
parent | 93e487fc8f88847964baf6e61a58e34ab41898d1 (diff) |
man: add ID_LIKE definition to os-release(5)
As requested by Raphaƫl Hertzog from the Debian project, encode
derivative information in /etc/os-release.
Diffstat (limited to 'man')
-rw-r--r-- | man/os-release.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/man/os-release.xml b/man/os-release.xml index 7d799721de..0d7925f07a 100644 --- a/man/os-release.xml +++ b/man/os-release.xml @@ -145,6 +145,42 @@ </varlistentry> <varlistentry> + <term><varname>ID_LIKE=</varname></term> + + <listitem><para>A space-separated list + of operating system identifiers in the + same syntax as the + <varname>ID=</varname> setting. Should + list identifiers of operating systems + that are closely related to the local + operating system in regards to + packaging and programming interfaces, + for example listing one or more + distribution identifiers the local + distribution is a derivative + from. Build scripts and similar should + check this variable if they need to + identify the local operating system + and the value of + <varname>ID=</varname> is not + recognized. Operating systems should + be listed in order of how closely the + local operating system relates to the + listed ones, starting with the + closest. This field is + optional. Example: for an operating + system with + <literal>ID=centos</literal> an + assignment of <literal>ID_LIKE="rhel + fedora"</literal> would be + appropriate. For an operating systemd + with <literal>ID=ubuntu</literal> an + assignment of + <literal>ID_LIKE=debian</literal> is + appropriate.</para></listitem> + </varlistentry> + + <varlistentry> <term><varname>VERSION_ID=</varname></term> <listitem><para>A lower-case string |