glfs/general/sysutils/lsb-tools.xml
2024-02-15 12:46:17 -06:00

185 lines
5.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
<!ENTITY lsb-tools-download-http "https://github.com/lfs-book/LSB-Tools/releases/download/v&lsb-tools-version;/LSB-Tools-&lsb-tools-version;.tar.gz">
<!ENTITY lsb-tools-download-ftp " ">
<!ENTITY lsb-tools-md5sum "1e6ef8cdfddb55035a6c36757e6313f9">
<!ENTITY lsb-tools-size "20 KB">
<!ENTITY lsb-tools-buildsize "412 KB">
<!ENTITY lsb-tools-time "less than 0.1 SBU">
%general-entities;
]>
<sect1 id="lsb-tools" xreflabel="lsb-tools-&lsb-tools-version;">
<?dbhtml filename="lsb-tools.html"?>
<title>LSB-Tools-&lsb-tools-version;</title>
<indexterm zone="lsb-tools">
<primary sortas="a-lsb-tools">LSB-Tools</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to LSB-Tools</title>
<para>
The <application>LSB-Tools</application> package includes tools
for Linux Standards Base (LSB) conformance.
</para>
&lfs121_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&lsb-tools-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&lsb-tools-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &lsb-tools-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &lsb-tools-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &lsb-tools-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &lsb-tools-time;
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of LSB-Tools</title>
<para>
Install <application>LSB-Tools</application> by running the following
commands:
</para>
<screen><userinput>make</userinput></screen>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<!-- fixed upstream: should be ok for release 0.13+ -->
<para>
Remove a file that should not be installed as the &root; user:
</para>
<screen role="root"><userinput>rm /usr/sbin/lsbinstall</userinput></screen>
<para revision="systemd">
Remove two scripts that serve no purpose on a systemd system:
</para>
<screen role="root" revision="systemd"><userinput>rm /usr/sbin/{install,remove}_initd</userinput></screen>
</sect2>
<sect2>
<title>Configuration Information</title>
<para>
The configuration for this package was done in
<ulink url='&lfs-root;/chapter11/theend.html'>LFS</ulink>.
The file <filename>/etc/lsb-release</filename> should already exist.
Be sure that the DISTRIB_CODENAME entry has been set properly.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
lsb_release <phrase revision="sysv">,
install_initd, and
remove_initd</phrase>
</seg>
<seg>
None
</seg>
<seg>
<phrase revision="systemd">/usr/lib/lsb and</phrase>
/usr/lib/python&python3-majorver;/site-packages/lsbtools
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="lsb_release">
<term><command>lsb_release</command></term>
<listitem>
<para>
is a script to give LSB data
</para>
<indexterm zone="lsb-tools lsb_release">
<primary sortas="b-lsb_release">lsb_release</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="install_initd" revision="sysv">
<term><command>install_initd</command></term>
<listitem>
<para>
is a script to activate SysV startup scripts
</para>
<indexterm zone="lsb-tools install_initd">
<primary sortas="b-install_initd">install_initd</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="remove_initd" revision="sysv">
<term><command>remove_initd</command></term>
<listitem>
<para>
is a script to deactivate SysV startup scripts
</para>
<indexterm zone="lsb-tools remove_initd">
<primary sortas="b-remove_initd">remove_initd</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>