aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/utillinux-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/utillinux-inst.xml')
-rw-r--r--chapter05/utillinux-inst.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/chapter05/utillinux-inst.xml b/chapter05/utillinux-inst.xml
new file mode 100644
index 000000000..781ee2c84
--- /dev/null
+++ b/chapter05/utillinux-inst.xml
@@ -0,0 +1,15 @@
+<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>Install Util-Linux by running the following commands:</para>
+
+<para><screen><userinput>./configure &amp;&amp;
+make -C lib &amp;&amp;
+make -C mount LDFLAGS=-static mount umount &amp;&amp;
+cp mount/{mount,umount} $LFS/static/bin</userinput></screen></para>
+
+</sect2>
+