]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: support /usr/lib/os-release too
authorKarel Zak <kzak@redhat.com>
Thu, 5 Mar 2015 11:25:28 +0000 (12:25 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 12 Mar 2015 09:15:47 +0000 (10:15 +0100)
commit753f2807c9297d4226b7cfe44fd145f9e3e2b40b
treeb8c7eeec865ead0b407ae8b14911cc3c1c8a1287
parent32881ca22daba4bff0520d150ef64b8b55036e73
agetty: support /usr/lib/os-release too

http://www.freedesktop.org/software/systemd/man/os-release.html

The file /etc/os-release takes precedence over /usr/lib/os-release.
Applications should check for the former, and exclusively use its data
if it exists, and only fall back to /usr/lib/os-release if it is
missing.

Reported-by: Dimitri John Ledkov <dimitri.j.ledkov@intel.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
include/pathnames.h
term-utils/agetty.8
term-utils/agetty.c