6.56. Installing Util-linux-2.11o

Estimated build time:           1 minute
Estimated required disk space:  9 MB

6.56.1. FHS compliance notes

The FHS recommends that we use /var/lib/hwclock as the location of the adjtime file, instead of the usual /etc. To make hwclock, which is part of the util-linux package, FHS-compliant, run the following.

cp hwclock/hwclock.c hwclock/hwclock.c.backup &&
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
   hwclock/hwclock.c.backup > hwclock/hwclock.c &&
mkdir -p /var/lib/hwclock

6.56.2. Installation of Util-Linux

Install Util-Linux by running the following commands:

./configure &&
make HAVE_SLN=yes &&
make HAVE_SLN=yes install

6.56.3. Command explanations

HAVE_SLN=yes: We don't build this program because it already was installed by Glibc.

6.56.4. Contents of util-linux-2.11n

6.56.4.2. Descriptions

6.56.5. Dependencies

Util-linux-2.11n needs the following to be installed:


bash: sh
binutils: as, ld
diffutils: cmp
fileutils: chgrp, chmod, cp, install, ln, mv, rm
gettext: msgfmt, xgettext
gcc: cc, cc1, collect2, cpp, cpp0
glibc: rpcgen
grep: grep
make: make
sed: sed
sh-utils: uname, whoami
textutils: cat