[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[b28fd35] | 7 |
|
---|
[9652249] | 8 | <sect1 id="ch-tools-util-linux" role="wrap">
|
---|
[b28fd35] | 9 | <?dbhtml filename="util-linux.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>util-linux</productname>
|
---|
| 13 | <productnumber>&util-linux-version;</productnumber>
|
---|
| 14 | <address>&util-linux-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[b28fd35] | 17 | <title>Util-linux-&util-linux-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-tools-util-linux">
|
---|
| 20 | <primary sortas="a-Util-linux">Util-linux</primary>
|
---|
| 21 | <secondary>tools</secondary>
|
---|
| 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="package">
|
---|
| 25 | <title/>
|
---|
[673b0d8] | 26 |
|
---|
[b28fd35] | 27 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 28 | href="../chapter06/util-linux.xml"
|
---|
| 29 | xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
---|
[81fd230] | 30 |
|
---|
[b28fd35] | 31 | <segmentedlist>
|
---|
| 32 | <segtitle>&buildtime;</segtitle>
|
---|
| 33 | <segtitle>&diskspace;</segtitle>
|
---|
[673b0d8] | 34 |
|
---|
[b28fd35] | 35 | <seglistitem>
|
---|
[e4a5635] | 36 | <seg>&util-linux-ch5-sbu;</seg>
|
---|
| 37 | <seg>&util-linux-ch5-du;</seg>
|
---|
[b28fd35] | 38 | </seglistitem>
|
---|
| 39 | </segmentedlist>
|
---|
[673b0d8] | 40 |
|
---|
[b28fd35] | 41 | </sect2>
|
---|
[673b0d8] | 42 |
|
---|
[b28fd35] | 43 | <sect2 role="installation">
|
---|
| 44 | <title>Installation of Util-linux</title>
|
---|
[673b0d8] | 45 |
|
---|
[b28fd35] | 46 | <para>Util-linux does not use the freshly installed headers and libraries
|
---|
| 47 | from the <filename class="directory">/tools</filename> directory by default.
|
---|
| 48 | This is fixed by altering the configure script:</para>
|
---|
[3d36131c] | 49 |
|
---|
[0445a3d] | 50 | <screen><userinput remap="pre">sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen>
|
---|
[673b0d8] | 51 |
|
---|
[b28fd35] | 52 | <para>Prepare Util-linux for compilation:</para>
|
---|
[673b0d8] | 53 |
|
---|
[0445a3d] | 54 | <screen><userinput remap="configure">./configure</userinput></screen>
|
---|
[673b0d8] | 55 |
|
---|
[b28fd35] | 56 | <para>Compile some support routines:</para>
|
---|
[673b0d8] | 57 |
|
---|
[0445a3d] | 58 | <screen><userinput remap="make">make -C lib</userinput></screen>
|
---|
[673b0d8] | 59 |
|
---|
[b28fd35] | 60 | <para>Only a few of the utilities contained in this package need to be
|
---|
| 61 | built:</para>
|
---|
[673b0d8] | 62 |
|
---|
[0445a3d] | 63 | <screen><userinput remap="make">make -C mount mount umount
|
---|
[673b0d8] | 64 | make -C text-utils more</userinput></screen>
|
---|
| 65 |
|
---|
[b28fd35] | 66 | <para>This package does not come with a test suite.</para>
|
---|
[81fd230] | 67 |
|
---|
[b28fd35] | 68 | <para>Copy these programs to the temporary tools directory:</para>
|
---|
[673b0d8] | 69 |
|
---|
[0445a3d] | 70 | <screen><userinput remap="install">cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
|
---|
[673b0d8] | 71 |
|
---|
[b28fd35] | 72 | </sect2>
|
---|
[81fd230] | 73 |
|
---|
[b28fd35] | 74 | <sect2 role="content">
|
---|
| 75 | <title/>
|
---|
| 76 |
|
---|
| 77 | <para>Details on this package are located in
|
---|
| 78 | <xref linkend="contents-utillinux" role="."/></para>
|
---|
[81fd230] | 79 |
|
---|
[b28fd35] | 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | </sect1>
|
---|