Index: chapter06/chapter06.xml
===================================================================
--- chapter06/chapter06.xml (revision febac5114bf62693000397723879a43f0db330e8)
+++ chapter06/chapter06.xml (revision ae636e7f2079cfd1bc08e71ea26ba896a9fa9c55)
@@ -32,3 +32,5 @@
+
+
Index: chapter06/util-linux.xml
===================================================================
--- chapter06/util-linux.xml (revision ae636e7f2079cfd1bc08e71ea26ba896a9fa9c55)
+++ chapter06/util-linux.xml (revision ae636e7f2079cfd1bc08e71ea26ba896a9fa9c55)
@@ -0,0 +1,83 @@
+
+
+ %general-entities;
+]>
+
+
+
+
+
+ util-linux
+ &util-linux-version;
+ &util-linux-url;
+
+
+ Programs from Util-linux-&util-linux-version;
+
+
+ programs from util-linux
+ tools
+
+
+
+
+
+ agetty, mount, and
+ setsid are utilities in
+ Util-Linux. We need them to
+ set up the environment once we boot the temporary system.
+
+
+ &buildtime;
+ &diskspace;
+
+
+ &mount-setsid-sbu;
+ &mount-setsid-du;
+
+
+
+
+
+
+ Installation of agetty, setsid and mount
+
+ Prepare Util-linux for compilation:
+
+./configure --build=$(config/config.guess) --host=$LFS_TGT --disable-shared
+
+
+ The meaning of the configure option:
+
+
+ --disable-shared
+
+ We do not need to install any of the shared libraries at
+ this time, therefore there is no need to build them.
+
+
+
+
+
+ We only need three tools from the package now, build them:
+
+make agetty mount setsid
+
+ Install the tools:
+
+install -vm755 agetty $LFS/usr/sbin
+install -vm755 mount setsid $LFS/usr/bin
+
+
+
+
+
+
+ Details on this package are located in
+
+
+
+
+
Index: packages.ent
===================================================================
--- packages.ent (revision febac5114bf62693000397723879a43f0db330e8)
+++ packages.ent (revision ae636e7f2079cfd1bc08e71ea26ba896a9fa9c55)
@@ -720,4 +720,6 @@
+
+