From 5a94946cdf38d3574bd32cd3151b32003df60e6a Mon Sep 17 00:00:00 2001 From: Rahul Sundaram Date: Wed, 8 Oct 2014 01:42:59 -0400 Subject: [PATCH] note on relative symlink in os-release --- man/os-release.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/man/os-release.xml b/man/os-release.xml index 4e02f80..b298304 100644 --- a/man/os-release.xml +++ b/man/os-release.xml @@ -90,11 +90,15 @@ files at the same time. /usr/lib/os-release is the recommended place to store OS release information as - part of vendor trees. Frequently, - /etc/os-release is simply a - symlink to /usr/lib/os-release, + part of vendor trees. + /etc/os-release should be a + relative symlink to + /usr/lib/os-release, to provide compatibility with applications only - looking at /etc. + looking at /etc. A relative + symlink instead of an absolute symlink is + necessary to avoid breaking the link in a chroot or + initrd environment such as dracut. os-release contains data that is defined by the operating system vendor and -- 2.7.4