X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fos-release.xml;h=b2983049432bbb29f2fcac14f0b433ceb192b9f3;hp=4e02f800b63d19cc9c754eb5c35df7a258796596;hb=4a02e68602be9f6f3caac0f6195672490f715fe1;hpb=8d0e0ddda6501479eb69164687c83c1a7667b33a diff --git a/man/os-release.xml b/man/os-release.xml index 4e02f800b..b29830494 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