lsb_release-1.4

Introduction to lsb_release

The lsb_release script gives information about the Linux Standards Base (LSB) status of the distribution.

This package is known to build and work properly using an LFS-7.8 platform.

Package Information

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lsb_release

Installation of lsb_release

First fix a minor display problem:

sed -i "s|n/a|unavailable|" lsb_release

Install lsb_release by running the following commands:

./help2man -N --include ./lsb_release.examples \
              --alt_version_key=program_version ./lsb_release > lsb_release.1

Now, as the root user:

install -v -m 644 lsb_release.1 /usr/share/man/man1/lsb_release.1 &&
install -v -m 755 lsb_release /usr/bin/lsb_release

Configuration Information

The configuration for this package was done in LFS. The file /etc/lsb-release should already exist. Be sure that the DISTRIB_CODENAME entry has been set properly.

Add the current package version to /etc/lsb-release. As the root user:

echo 'LSB_VERSION="1.4"' >> /etc/lsb-release

Contents

Installed Programs: lsb_release
Installed Library: None
Installed Directories: None

Short Descriptions

lsb_release

is a script to give LSB data.

Last updated on 2015-09-08 09:43:51 -0700