aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-09-04 17:07:19 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-09-04 17:07:19 +0000
commit12d9bda6631a651700b46d94f27cd61c30192040 (patch)
treec3ac2a2b271efdf983d10f2e5844198792820198 /chapter06
parentc0b11718f64080ee987f49ec32f19fa5733b5140 (diff)
Update to util-linux-2.22
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9982 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/util-linux.xml33
1 files changed, 31 insertions, 2 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml
index 237b2c701..5dc606352 100644
--- a/chapter06/util-linux.xml
+++ b/chapter06/util-linux.xml
@@ -50,7 +50,8 @@
following:</para>
<screen><userinput remap="pre">sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
- $(grep -rl '/etc/adjtime' .)
+ $(grep -rl '/etc/adjtime' .)
+
mkdir -pv /var/lib/hwclock</userinput></screen>
</sect2>
@@ -58,7 +59,22 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
<sect2 role="installation">
<title>Installation of Util-linux</title>
-<screen><userinput remap="configure">./configure</userinput></screen>
+<screen><userinput remap="configure">./configure --disable-su --disable-sulogin --disable-login</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the configure option:</title>
+
+ <varlistentry>
+ <term><parameter>--disable-*</parameter></term>
+ <listitem>
+ <para>These switches disable building su, sulogin, and login. They
+ duplicate the same programs provided by <xref
+ linkend='ch-system-shadow'/>. They also require <ulink
+ url="&blfs-root;/view/svn/postlfs/linux-pam.html">Linux-PAM</ulink>
+ which is not available in LFS.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
<para>Compile the package:</para>
@@ -92,7 +108,9 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
setarch, setsid, setterm, sfdisk, swaplabel, swapoff (link to swapon),
swapon, switch_root, tailf, taskset, tunelp, ul, umount, unshare,
uuidd, uuidgen, wall, whereis, wipefs, and x86_64</seg>
+
<seg>libblkid.{a,so}, libmount.{a,so}, libuuid.{a,so}</seg>
+
<seg>/usr/include/blkid, /usr/include/libmount, /usr/include/uuid,
/usr/share/getopt, /var/lib/hwclock</seg>
</seglistitem>
@@ -1018,6 +1036,17 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry id="libmount">
+ <term><filename class="libraryfile">libmount</filename></term>
+ <listitem>
+ <para>Contains routines for block device mounting and
+ unmounting</para>
+ <indexterm zone="ch-system-util-linux libmount">
+ <primary sortas="c-libmount">libmount</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="libuuid">
<term><filename class="libraryfile">libuuid</filename></term>
<listitem>