[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[cdb3add2] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 |
|
---|
[443e09d0] | 6 | <!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">
|
---|
[cdb3add2] | 7 | <!ENTITY lsb-tools-download-ftp " ">
|
---|
[101873e] | 8 | <!ENTITY lsb-tools-md5sum "1e6ef8cdfddb55035a6c36757e6313f9">
|
---|
| 9 | <!ENTITY lsb-tools-size "20 KB">
|
---|
| 10 | <!ENTITY lsb-tools-buildsize "412 KB">
|
---|
[885b1a00] | 11 | <!ENTITY lsb-tools-time "less than 0.1 SBU">
|
---|
[cdb3add2] | 12 |
|
---|
| 13 | %general-entities;
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="lsb-tools" xreflabel="lsb-tools-&lsb-tools-version;">
|
---|
| 17 | <?dbhtml filename="lsb-tools.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>LSB-Tools-&lsb-tools-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="lsb-tools">
|
---|
| 23 | <primary sortas="a-lsb-tools">LSB-Tools</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to LSB-Tools</title>
|
---|
| 28 |
|
---|
[b1532549] | 29 | <para>
|
---|
| 30 | The <application>LSB-Tools</application> package includes tools
|
---|
| 31 | for Linux Standards Base (LSB) conformance.
|
---|
| 32 | </para>
|
---|
[cdb3add2] | 33 |
|
---|
[09ddf35a] | 34 | &lfs122_checked;
|
---|
[cdb3add2] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[b1532549] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&lsb-tools-download-http;"/>
|
---|
| 41 | </para>
|
---|
[cdb3add2] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[b1532549] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&lsb-tools-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[cdb3add2] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[b1532549] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &lsb-tools-md5sum;
|
---|
| 51 | </para>
|
---|
[cdb3add2] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[b1532549] | 54 | <para>
|
---|
| 55 | Download size: &lsb-tools-size;
|
---|
| 56 | </para>
|
---|
[cdb3add2] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[b1532549] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &lsb-tools-buildsize;
|
---|
| 61 | </para>
|
---|
[cdb3add2] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[b1532549] | 64 | <para>
|
---|
| 65 | Estimated build time: &lsb-tools-time;
|
---|
| 66 | </para>
|
---|
[cdb3add2] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 |
|
---|
| 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of LSB-Tools</title>
|
---|
| 75 |
|
---|
[da008f7] | 76 | <para>
|
---|
[c5078ea9] | 77 | Install <application>LSB-Tools</application> by running the following
|
---|
[b1532549] | 78 | commands:
|
---|
| 79 | </para>
|
---|
[cdb3add2] | 80 |
|
---|
[101873e] | 81 | <screen><userinput>make</userinput></screen>
|
---|
[cdb3add2] | 82 |
|
---|
[b1532549] | 83 | <para>
|
---|
| 84 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 85 | </para>
|
---|
[cdb3add2] | 86 |
|
---|
[101873e] | 87 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[cdb3add2] | 88 |
|
---|
[142f288f] | 89 | <!-- fixed upstream: should be ok for release 0.13+ -->
|
---|
| 90 | <para>
|
---|
| 91 | Remove a file that should not be installed as the &root; user:
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
[8f20e66] | 94 | <screen role="root"><userinput>rm /usr/sbin/lsbinstall</userinput></screen>
|
---|
| 95 |
|
---|
| 96 | <para revision="systemd">
|
---|
| 97 | Remove two scripts that serve no purpose on a systemd system:
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <screen role="root" revision="systemd"><userinput>rm /usr/sbin/{install,remove}_initd</userinput></screen>
|
---|
[142f288f] | 101 |
|
---|
[cdb3add2] | 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2>
|
---|
| 105 | <title>Configuration Information</title>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
[72e4033c] | 108 | The configuration for this package was done in
|
---|
| 109 | <ulink url='&lfs-root;/chapter11/theend.html'>LFS</ulink>.
|
---|
[cdb3add2] | 110 | The file <filename>/etc/lsb-release</filename> should already exist.
|
---|
| 111 | Be sure that the DISTRIB_CODENAME entry has been set properly.
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="content">
|
---|
| 117 | <title>Contents</title>
|
---|
| 118 |
|
---|
| 119 | <segmentedlist>
|
---|
| 120 | <segtitle>Installed Programs</segtitle>
|
---|
[ceafde50] | 121 | <segtitle>Installed Library</segtitle>
|
---|
[cdb3add2] | 122 | <segtitle>Installed Directories</segtitle>
|
---|
| 123 |
|
---|
| 124 | <seglistitem>
|
---|
| 125 | <seg>
|
---|
[8f20e66] | 126 | lsb_release <phrase revision="sysv">,
|
---|
[142f288f] | 127 | install_initd, and
|
---|
[8f20e66] | 128 | remove_initd</phrase>
|
---|
[6c3d8a47] | 129 | </seg>
|
---|
[ceafde50] | 130 | <seg>
|
---|
[142f288f] | 131 | None
|
---|
[ceafde50] | 132 | </seg>
|
---|
[52944cb] | 133 | <seg>
|
---|
| 134 | <phrase revision="systemd">/usr/lib/lsb and</phrase>
|
---|
| 135 | /usr/lib/python&python3-majorver;/site-packages/lsbtools
|
---|
[cdb3add2] | 136 | </seg>
|
---|
| 137 | </seglistitem>
|
---|
| 138 | </segmentedlist>
|
---|
| 139 |
|
---|
| 140 | <variablelist>
|
---|
| 141 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 142 | <?dbfo list-presentation="list"?>
|
---|
| 143 | <?dbhtml list-presentation="table"?>
|
---|
| 144 |
|
---|
| 145 | <varlistentry id="lsb_release">
|
---|
| 146 | <term><command>lsb_release</command></term>
|
---|
| 147 | <listitem>
|
---|
[b1532549] | 148 | <para>
|
---|
[4c24eb0a] | 149 | is a script to give LSB data
|
---|
[b1532549] | 150 | </para>
|
---|
[cdb3add2] | 151 | <indexterm zone="lsb-tools lsb_release">
|
---|
[142f288f] | 152 | <primary sortas="b-lsb_release">lsb_release</primary>
|
---|
[cdb3add2] | 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
[8f20e66] | 156 |
|
---|
| 157 | <varlistentry id="install_initd" revision="sysv">
|
---|
[cdb3add2] | 158 | <term><command>install_initd</command></term>
|
---|
| 159 | <listitem>
|
---|
[b1532549] | 160 | <para>
|
---|
[4c24eb0a] | 161 | is a script to activate SysV startup scripts
|
---|
[b1532549] | 162 | </para>
|
---|
[cdb3add2] | 163 | <indexterm zone="lsb-tools install_initd">
|
---|
[142f288f] | 164 | <primary sortas="b-install_initd">install_initd</primary>
|
---|
[cdb3add2] | 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
[8f20e66] | 168 |
|
---|
| 169 | <varlistentry id="remove_initd" revision="sysv">
|
---|
[7539c30e] | 170 | <term><command>remove_initd</command></term>
|
---|
[cdb3add2] | 171 | <listitem>
|
---|
[b1532549] | 172 | <para>
|
---|
[4c24eb0a] | 173 | is a script to deactivate SysV startup scripts
|
---|
[b1532549] | 174 | </para>
|
---|
[cdb3add2] | 175 | <indexterm zone="lsb-tools remove_initd">
|
---|
[142f288f] | 176 | <primary sortas="b-remove_initd">remove_initd</primary>
|
---|
[cdb3add2] | 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 | </variablelist>
|
---|
| 181 |
|
---|
| 182 | </sect2>
|
---|
| 183 |
|
---|
| 184 | </sect1>
|
---|