aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/utillinux-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-02 18:20:20 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-02 18:20:20 +0000
commitbc82645e958948a6aefd3147a0d7f712de9eaf6b (patch)
tree4855b70f785c1e6bf04856e97824988120503b05 /chapter05/utillinux-inst.xml
parent55b50e3f6653cef278bad7e45fe5a378966953a7 (diff)
Integrated Pure LFS - Phase 1
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2490 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/utillinux-inst.xml')
-rw-r--r--chapter05/utillinux-inst.xml24
1 files changed, 6 insertions, 18 deletions
diff --git a/chapter05/utillinux-inst.xml b/chapter05/utillinux-inst.xml
index 1a43e13a0..6e3815a86 100644
--- a/chapter05/utillinux-inst.xml
+++ b/chapter05/utillinux-inst.xml
@@ -3,24 +3,12 @@
<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>
+<para><screen><userinput>CFLAGS="-O2 -pipe" ./configure
+make -C lib LDFLAGS="-s"
+make -C mount LDFLAGS="-s" mount umount
+make -C text-utils LDFLAGS="-s" more
+cp mount/{mount,umount} /stage1/bin
+cp text-utils/more /stage1/bin</userinput></screen></para>
</sect2>