mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-21 06:28:02 +00:00
e4b9338243
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2416 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
27 lines
807 B
XML
27 lines
807 B
XML
<sect2><title> </title><para> </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>
|
|
|