From e21aee149493ac510b1185030ffa1619f229ce08 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 6 Mar 2012 13:59:12 +0100 Subject: [PATCH] man: add ID_LIKE definition to os-release(5) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit As requested by Raphaël Hertzog from the Debian project, encode derivative information in /etc/os-release. --- man/os-release.xml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) 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= -- 2.39.5