From: Lennart Poettering Date: Tue, 6 Mar 2012 12:59:12 +0000 (+0100) Subject: man: add ID_LIKE definition to os-release(5) X-Git-Tag: v44~56 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e21aee149493ac510b1185030ffa1619f229ce08;p=systemd 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. --- diff --git a/man/os-release.xml b/man/os-release.xml index 7d799721..0d7925f0 100644 --- a/man/os-release.xml +++ b/man/os-release.xml @@ -144,6 +144,42 @@ ID=debian. + + ID_LIKE= + + A space-separated list + of operating system identifiers in the + same syntax as the + ID= 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 + ID= 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 + ID=centos an + assignment of ID_LIKE="rhel + fedora" would be + appropriate. For an operating systemd + with ID=ubuntu an + assignment of + ID_LIKE=debian is + appropriate. + + VERSION_ID=