aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/utillinux-inst.xml
blob: 1a43e13a07ece957388ae684e3789da89a6ddf44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Util-linux</title>

<para>Prepare Util-linux to be compiled:</para>

<para><screen><userinput>LDFLAGS="-static" ./configure</userinput></screen></para>

<para>Begin compiling the package:</para>

<para><screen><userinput>make -C lib</userinput></screen></para>

<para>We only need the <filename>mount</filename> and
<filename>umount</filename> programs at the moment, so we won't be
compiling the entire package. Compile these two programs by issuing
the following command:</para>

<para><screen><userinput>make -C mount mount umount</userinput></screen></para>

<para>Finish installing these two programs:</para>

<para><screen><userinput>cp mount/{mount,umount} $LFS/static/bin</userinput></screen></para>

</sect2>