|
@@ -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>
|