From 6bd212771129d00cf7b42d6774a6b81547569384 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 22 Nov 2010 00:26:08 +0100 Subject: [PATCH] man: make clear that VERSION and VERSION_ID is not mandatory in os-release.5 --- TODO | 2 ++ man/os-release.xml | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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. -- 2.30.2