From: Lennart Poettering Date: Sun, 21 Nov 2010 23:26:08 +0000 (+0100) Subject: man: make clear that VERSION and VERSION_ID is not mandatory in os-release.5 X-Git-Tag: v14~13 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6bd212771129d00cf7b42d6774a6b81547569384;p=elogind.git man: make clear that VERSION and VERSION_ID is not mandatory in os-release.5 --- diff --git a/TODO b/TODO index 1069896cb..fbe299c93 100644 --- a/TODO +++ b/TODO @@ -75,6 +75,8 @@ Fedora: * chkconfig → systemd enable/daemon-reload glue +* /var/lock, /var/run → what happens if rpm stuff is no %ghosted? + External: * make cryptsetup lower --iter-time diff --git a/man/os-release.xml b/man/os-release.xml index c6eb28f39..b5f42b2ee 100644 --- a/man/os-release.xml +++ b/man/os-release.xml @@ -167,9 +167,15 @@ If you interpreting this file from code or a shell script, use the ID and VERSION_ID fields. When - looking for an OS indetification string for + looking for an OS identification string for presentation to the user use the PRETTY_STRING field. + + Note that operating system vendors may choose + not to provide version information, for example to + accomodate for rolling releases. In this case VERSION + and VERSION_ID may be unset. Applications should not + rely on these fields to be set.