diff options
author | Timothy Bauscher <timothy@linuxfromscratch.org> | 2003-01-15 08:25:32 +0000 |
---|---|---|
committer | Timothy Bauscher <timothy@linuxfromscratch.org> | 2003-01-15 08:25:32 +0000 |
commit | 6293eb6f337084ce16075db0f0228b677c241ee5 (patch) | |
tree | 3c7fdf4c7317ea0b6b13b9cea5083dac8ebc61e7 /chapter05/utillinux-inst.xml | |
parent | fae04ae33e1b3782d5c523c1bfe44601164c566d (diff) |
Converted util-linux to new layout.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2331 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/utillinux-inst.xml')
-rw-r--r-- | chapter05/utillinux-inst.xml | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/chapter05/utillinux-inst.xml b/chapter05/utillinux-inst.xml index 12e22e833..364a65e1f 100644 --- a/chapter05/utillinux-inst.xml +++ b/chapter05/utillinux-inst.xml @@ -1,15 +1,26 @@ +<sect2><title> </title><para> </para></sect2> + <sect2> <title>Installation of Util-linux</title> -<para>We only need the mount and umount programs at the moment, so we won't -be compiling the entire package.</para> +<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 <emphasis>mount</emphasis> and +<emphasis>umount</emphasis> 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>Install Util-linux by running the following commands:</para> +<para>Finish installing these two programs:</para> -<para><screen><userinput>LDFLAGS="-static" ./configure && -make -C lib && -make -C mount mount umount && -cp mount/{mount,umount} $LFS/static/bin</userinput></screen></para> +<para><screen><userinput>cp mount/{mount,umount} $LFS/static/bin</userinput></screen></para> </sect2> |