aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/util-linux.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-07-22 21:55:23 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-07-22 21:55:23 +0000
commit14109e77437b13dbc0ad846d25d5f5f35071b92c (patch)
tree33d8d96da50c200237813903a9c4b365d978cd77 /chapter06/util-linux.xml
parent1bbaab30ef50e1c0cb172f3b84e388660738c8dc (diff)
Update to util-linux-2.25
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10644 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/util-linux.xml')
-rw-r--r--chapter06/util-linux.xml45
1 files changed, 18 insertions, 27 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml
index 5afa8965b..87f70f0ea 100644
--- a/chapter06/util-linux.xml
+++ b/chapter06/util-linux.xml
@@ -45,14 +45,10 @@
<para>The FHS recommends using the <filename
class="directory">/var/lib/hwclock</filename> directory instead of the
usual <filename class="directory">/etc</filename> directory as the
- location for the <filename>adjtime</filename> file. To make the
- <command>hwclock</command> program FHS-compliant, run the
- following:</para>
+ location for the <filename>adjtime</filename> file. First create a directory
+ to enable storage for the <command>hwclock</command> program:</para>
-<screen><userinput remap="pre">sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
- $(grep -rl '/etc/adjtime' .)
-
-mkdir -pv /var/lib/hwclock</userinput></screen>
+<screen><userinput remap="pre">mkdir -pv /var/lib/hwclock</userinput></screen>
</sect2>
@@ -61,7 +57,7 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
<para>Prepare Util-linux for compilation:</para>
-<screen><userinput remap="configure">./configure</userinput></screen>
+<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock</userinput></screen>
<para>Compile the package:</para>
@@ -79,10 +75,6 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
<screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen>
</warning>
- <note><para>Two tests, last/ipv6 and last/last, fail in the chroot environment
- due to the DNS resolver not being active yet. If the tests are rerun after
- booting, they pass.</para></note>
-
<screen><userinput remap="test">chown -Rv nobody .
su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
@@ -102,12 +94,12 @@ su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
<seglistitem>
<seg>addpart, agetty, blkdiscard, blkid, blockdev, cal, cfdisk, chcpu,
- chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, delpart, dmesg,
+ chrt, col, colcrt, colrm, column, ctrlaltdel, delpart, dmesg,
eject, fallocate, fdformat, fdisk, findfs, findmnt, flock, fsck,
fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock,
i386, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link to
last), ldattach, linux32, linux64, logger, look, losetup, lsblk, lscpu,
- lslocks, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
+ lslocks, lslogins, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
more, mount, mountpoint, namei, partx, pg, pivot_root, prlimit, raw,
readprofile, rename, renice, resizepart, rev, rtcwake, script,
scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel,
@@ -117,8 +109,8 @@ su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
<seg>libblkid.{a,so}, libmount.{a,so}, libuuid.{a,so}</seg>
- <seg>/usr/include/blkid, /usr/include/libmount, /usr/include/uuid,
- /usr/share/doc/util-linux/getopt, /var/lib/hwclock</seg>
+ <seg>/etc/terminal-colors.d, /usr/include/blkid, /usr/include/libmount,
+ /usr/include/uuid, /usr/share/doc/util-linux/getopt, /var/lib/hwclock</seg>
</seglistitem>
</segmentedlist>
@@ -272,17 +264,6 @@ su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
</listitem>
</varlistentry>
- <varlistentry id="cytune">
- <term><command>cytune</command></term>
- <listitem>
- <para>Tunes the parameters of the serial line drivers for
- Cyclades cards</para>
- <indexterm zone="ch-system-util-linux cytune">
- <primary sortas="b-cytune">cytune</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
<varlistentry id="delpart">
<term><command>delpart</command></term>
<listitem>
@@ -646,6 +627,16 @@ su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry id="lslogins">
+ <term><command>lslogins</command></term>
+ <listitem>
+ <para>Lists information about users, groups and system accounts</para>
+ <indexterm zone="ch-system-util-linux lslogins">
+ <primary sortas="b-lslogins">lslogins</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="mcookie">
<term><command>mcookie</command></term>
<listitem>