On 12/11/2017 22:16, Bruce Dubbs wrote:
Armin K. wrote:
On 12.11.2017 20:46, Bruce Dubbs wrote:
Armin K. wrote:
I stumbled upon a newer lsb_release than the one that's currently in
the book. It uses /etc/lsb_release as well as /etc/os-release. I
thought I'd share about it here first, instead of opening a ticket. Not
sure if it's book material.

https://github.com/thkukuk/lsb-release_os-release

Well we have lfs-release and not os-release now.  I'm not sure what this
fork adds.  Right now it only copies a couple of files.

Do you have any insight?

/etc/os-release is used by systemd to identify the distro. This version
still uses /etc/lsb-release, and is newer than the one currently in the
book. Besides that, I have no arguments on why it should be updated, hence
why I posted here first.

OK, thanks.  Perhaps we should just add a symlink from lsb-release to os-release.  Or is that from lfs-release to os-release?

As an aside, why should systemd do different things for different distros?  Isn't that the distro's job?

  -- Bruce

The systemd book creates /etc/os-release (at 9.1 The End)
Pierre

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to