fedora-release-$PRODUCT, /etc/issue, /etc/os-release, Per-Product Configs and more!
Matthew Miller
mattdm at fedoraproject.org
Wed Jul 2 13:42:04 UTC 2014
On Wed, Jul 02, 2014 at 10:38:15AM +0200, Karel Zak wrote:
> Note that agetty(8) allows to keep /etc/issue distribution
> independent and it reads all necessary information from
> /etc/os-release to generate the final pre-login message. All you need
> is to create /etc/issue with \S sequences, for example:
> \S{PRETTY_NAME}
> \S{HOME_URL}
> Kernel \r on an \m (\l)
> .. so /etc/issue does not have to be maintained within packages like
> fedora-release-$PRODUCT or so.
Oh, that's nice. I just learned yesterday that it has all of those fancy new
escapes.
> It would be really really nice have only *one* file (/etc/os-release)
> that contains operating system identification data. The mess like
> /etc/fedora-release and /etc/redhat-release should be deprecated.
Yeah. The tricky thing is providing "sub-release" information when there's
just one file. Maybe something like "/etc/os-release.d/" could solve the
problem....
--
Matthew Miller
<mattdm at fedoraproject.org>
Fedora Project Leader
More information about the devel
mailing list