]> 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, 5 Mar 2015 11:25:28 +0000 (12:25 +0100)
commitb28842ae67557f503ae097d5101cbe0a93fda39d
tree696c66e2d69af31ab0e4f1eebbfb7ed47616db9d
parentec27f470483a7a617bd7227807d4faca16e2e652
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