1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-tools-util-linux-ng" role="wrap">
|
---|
9 | <?dbhtml filename="util-linux-ng.html"?>
|
---|
10 |
|
---|
11 | <sect1info condition="script">
|
---|
12 | <productname>util-linux-ng</productname>
|
---|
13 | <productnumber>&util-linux-ng-version;</productnumber>
|
---|
14 | <address>&util-linux-ng-url;</address>
|
---|
15 | </sect1info>
|
---|
16 |
|
---|
17 | <title>Util-linux-ng-&util-linux-ng-version;</title>
|
---|
18 |
|
---|
19 | <indexterm zone="ch-tools-util-linux-ng">
|
---|
20 | <primary sortas="a-Util-linux-ng">Util-linux-ng</primary>
|
---|
21 | <secondary>tools</secondary>
|
---|
22 | </indexterm>
|
---|
23 |
|
---|
24 | <sect2 role="package">
|
---|
25 | <title/>
|
---|
26 |
|
---|
27 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
28 | href="../chapter06/util-linux-ng.xml"
|
---|
29 | xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
---|
30 |
|
---|
31 | <segmentedlist>
|
---|
32 | <segtitle>&buildtime;</segtitle>
|
---|
33 | <segtitle>&diskspace;</segtitle>
|
---|
34 |
|
---|
35 | <seglistitem>
|
---|
36 | <seg>&util-linux-ng-ch5-sbu;</seg>
|
---|
37 | <seg>&util-linux-ng-ch5-du;</seg>
|
---|
38 | </seglistitem>
|
---|
39 | </segmentedlist>
|
---|
40 |
|
---|
41 | </sect2>
|
---|
42 |
|
---|
43 | <sect2 role="installation">
|
---|
44 | <title>Installation of Util-linux-ng</title>
|
---|
45 |
|
---|
46 | <para>Prepare Util-linux-ng for compilation:</para>
|
---|
47 |
|
---|
48 | <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
|
---|
49 | <!--
|
---|
50 | <variablelist>
|
---|
51 | <title>The meaning of the new configure option:</title>
|
---|
52 |
|
---|
53 | <varlistentry>
|
---|
54 | <term><parameter>- -with-fsprobe</parameter></term>
|
---|
55 | <listitem>
|
---|
56 | <para>This tells Util-Linux-NG to use its own version of the libblkid
|
---|
57 | library, rather than a system-installed version.</para>
|
---|
58 | </listitem>
|
---|
59 | </varlistentry>
|
---|
60 | </variablelist>
|
---|
61 | -->
|
---|
62 | <para>Only a few of the utilities contained in this package need to be
|
---|
63 | built:</para>
|
---|
64 |
|
---|
65 | <screen><userinput remap="make">make -C disk-utils mkswap
|
---|
66 | make -C mount mount umount
|
---|
67 | make -C text-utils more</userinput></screen>
|
---|
68 |
|
---|
69 | <!-- Not sure why this is in there. There is no test suite. Though
|
---|
70 | running 'make check' may build these programs, there is no
|
---|
71 | testing done.
|
---|
72 | <para>This package comes with a test suite, but running it will cause all of
|
---|
73 | the binaries to be built and tested. If you still wish to run the tests,
|
---|
74 | issue:</para>
|
---|
75 |
|
---|
76 | <screen><userinput remap="test">make check</userinput></screen> -->
|
---|
77 |
|
---|
78 | <para>This package does not come with a test suite.</para>
|
---|
79 |
|
---|
80 | <para>Install the shared libraries required by E2fsprogs:</para>
|
---|
81 |
|
---|
82 | <screen><userinput remap="install">make -C shlibs/uuid install
|
---|
83 | make -C shlibs/blkid install</userinput></screen>
|
---|
84 |
|
---|
85 | <para>Copy these programs to the temporary tools directory:</para>
|
---|
86 |
|
---|
87 | <screen><userinput remap="install">cp -v disk-utils/mkswap mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
|
---|
88 |
|
---|
89 | </sect2>
|
---|
90 |
|
---|
91 | <sect2 role="content">
|
---|
92 | <title/>
|
---|
93 |
|
---|
94 | <para>Details on this package are located in
|
---|
95 | <xref linkend="contents-utillinux" role="."/></para>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | </sect1>
|
---|