1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE section [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <section xmlns="http://docbook.org/docbook-ng"
|
---|
7 | xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
8 | xml:id="ch-tools-util-linux" role="wrap">
|
---|
9 | <title>Util-linux-&util-linux-version;</title>
|
---|
10 | <?dbhtml filename="util-linux.html"?>
|
---|
11 |
|
---|
12 | <indexterm zone="ch-tools-util-linux">
|
---|
13 | <primary sortas="a-Util-linux">Util-linux</primary>
|
---|
14 | <secondary>tools</secondary></indexterm>
|
---|
15 |
|
---|
16 | <section role="package"><title/>
|
---|
17 | <xi:include href="../chapter06/util-linux.xml" xpointer="xpointer(/*[1]/*[3]/*[2])"/>
|
---|
18 |
|
---|
19 | <segmentedlist>
|
---|
20 | <segtitle>&buildtime;</segtitle>
|
---|
21 | <segtitle>&diskspace;</segtitle>
|
---|
22 | <seglistitem><seg>0.2 SBU</seg><seg>16 MB</seg></seglistitem>
|
---|
23 | </segmentedlist>
|
---|
24 |
|
---|
25 | <xi:include href="../chapter06/util-linux.xml" xpointer="xpointer(/*[1]/*[3]/*[4])"/>
|
---|
26 |
|
---|
27 | </section>
|
---|
28 |
|
---|
29 | <section role="installation">
|
---|
30 | <title>Installation of Util-linux</title>
|
---|
31 |
|
---|
32 | <para>Util-linux doesn't use the freshly installed headers and libraries
|
---|
33 | from the <filename class="directory">/tools</filename> directory. This is fixed by altering the configure
|
---|
34 | script:</para>
|
---|
35 |
|
---|
36 | <screen><userinput>sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen>
|
---|
37 |
|
---|
38 | <para>Prepare Util-linux for compilation:</para>
|
---|
39 |
|
---|
40 | <screen><userinput>./configure</userinput></screen>
|
---|
41 |
|
---|
42 | <para>Compile some support routines:</para>
|
---|
43 |
|
---|
44 | <screen><userinput>make -C lib</userinput></screen>
|
---|
45 |
|
---|
46 | <para>Since you'll only need a couple of the utilities contained in
|
---|
47 | this package, build just those:</para>
|
---|
48 |
|
---|
49 | <screen><userinput>make -C mount mount umount
|
---|
50 | make -C text-utils more</userinput></screen>
|
---|
51 |
|
---|
52 | <para>Now copy these programs to the temporary tools directory:</para>
|
---|
53 |
|
---|
54 | <screen><userinput>cp mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
|
---|
55 |
|
---|
56 | </section>
|
---|
57 |
|
---|
58 | <section role="content"><title/>
|
---|
59 | <para>The details on this package are found in <xref linkend="contents-utillinux"/>.</para>
|
---|
60 | </section>
|
---|
61 | </section>
|
---|