README.md

Example implementations of LSB features

Note: this repository is a conversion of the original from https://bzr.linuxfoundation.org/lsb/devel/lsb-samples/, which is no longer available.

LSB version query program (lsb_release) with support of /etc/os-release.

Original written by Dominique Massonie (mdomi@users.sourceforge.net)

This program forms part of the required functionality of the LSB (Linux Standard Base) specification.

The program queries the installed state of the distribution to display certain properties such as the version of the LSB against which the distribution claims compliance as well. It can also attempt to display the name and release of the distribution along with an identifier of who produces the distribution.

From Fedora sources

-  original redhat-lsb-4.1-1.tar.bz2
-  applied lsb-release-3.1-update-init-functions.patch
-  Archive part of LSB db won't be used for now
-  spec cleanup like replace define by global and recomended comments
-  applied redhat-lsb-lsb_start_daemon-fix.patch
-  lsb-release-2.0-disable-etc-lsb-release.patch

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

-  page Document /etc/os-release usage of lsb_release
-  Manual pages are in /usr/share/man
-  Update COPYING file

Forked from https://github.com/LinuxStandardBase/lsb-samples/commits/

-  Replace `echo -e` with `printf`
-  Create README.md
-  Reverse the order by which variables are populated