Systemd/src/hostname
Lennart Poettering 5ae4d543cb os-release: define /usr/lib/os-release as fallback for /etc/os-release
The file should have been in /usr/lib/ in the first place, since it
describes the OS container in /usr (and not the configuration in /etc),
hence, let's support os-release files in /usr/lib as fallback if no
version in /etc exists, following the usual override logic.

A prior commit already enabled tmpfiles to create /etc/os-release as a
symlink to /usr/lib/os-release should it be missing, thus providing nice
compatibility with applications only checking in /etc.

While it's probably a good idea if all apps check both locations via a
fallback logic, it is only necessary in the early boot process, as long
as the /etc/os-release symlink has not been restored, in case we boot
with an empty /etc.
2014-06-13 20:11:59 +02:00
..
.gitignore login: move seat udev rules to login subdir 2012-01-22 18:32:13 +01:00
hostnamectl.c shared: rename hwclock.[ch] to clock-util.[ch] 2014-05-24 07:56:20 +09:00
hostnamed.c os-release: define /usr/lib/os-release as fallback for /etc/os-release 2014-06-13 20:11:59 +02:00
Makefile build-sys: add stub makefiles to subdirs 2012-01-05 16:29:21 +01:00
org.freedesktop.hostname1.conf relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
org.freedesktop.hostname1.policy.in polkit: add "imply" rules to a number of polkit actions 2012-12-31 21:24:26 +01:00
org.freedesktop.hostname1.service relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00