2004-01-02 14:07:24 +00:00
|
|
|
<sect1 id="ch05-util-linux">
|
2002-05-25 01:21:12 +01:00
|
|
|
<title>Installing Util-linux-&util-linux-version;</title>
|
|
|
|
<?dbhtml filename="util-linux.html" dir="chapter05"?>
|
|
|
|
|
2003-10-11 13:02:47 +01:00
|
|
|
<screen>Estimated build time: &util-linux-time-tools;
|
|
|
|
Estimated required disk space: &util-linux-compsize-tools;</screen>
|
2002-05-25 01:21:12 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-utillinux-down;
|
2003-11-15 16:07:18 +00:00
|
|
|
&aa-utillinux-dep;
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of Util-linux</title>
|
|
|
|
|
|
|
|
<para>Util-linux doesn't use the freshly installed headers and libraries from
|
2004-01-12 23:24:06 +00:00
|
|
|
the <filename>/tools</filename> directory. This is fixed by altering the
|
|
|
|
configure script:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<screen><userinput>cp configure configure.backup
|
2003-12-22 09:32:12 +00:00
|
|
|
sed "s@/usr/include@/tools/include@g" configure.backup > configure</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<para>Prepare Util-linux for compilation:</para>
|
|
|
|
|
|
|
|
<screen><userinput>./configure</userinput></screen>
|
|
|
|
|
|
|
|
<para>Compile some support routines:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make -C lib</userinput></screen>
|
|
|
|
|
|
|
|
<para>And, since you'll need only a couple of the utilities contained in this
|
|
|
|
package, build just those:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make -C mount mount umount
|
2004-01-08 01:06:58 +00:00
|
|
|
make -C text-utils more
|
|
|
|
make -C sys-utils arch</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<para>Now copy these programs to the temporary tools directory:</para>
|
|
|
|
|
2004-01-08 01:06:58 +00:00
|
|
|
<screen><userinput>cp mount/{,u}mount text-utils/more sys-utils/arch /tools/bin</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
</sect2>
|
2002-05-25 01:21:12 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
<sect2><title> </title><para> </para>
|
|
|
|
<para>The details on this package are found in <xref linkend="contents-utillinux"/>.</para>
|
|
|
|
<para> </para></sect2>
|
|
|
|
|
2002-05-25 01:21:12 +01:00
|
|
|
</sect1>
|
2003-11-01 22:31:50 +00:00
|
|
|
|