Estimated build time: 0.2 SBU Estimated required disk space: 16 MB |
(Last checked against version 2.12.)
The Util-linux package contains a number of miscellaneous utility programs. Some of the more prominent utilities are used to mount, unmount, format, partition and manage disk drives, open tty ports and fetch kernel messages.
Installed programs: agetty, arch, blockdev, cal, cfdisk, chkdupexe, col, colcrt, colrm, column, ctrlaltdel, cytune, ddate, dmesg, elvtune, fdformat, fdisk, fsck.cramfs, fsck.minix, getopt, hexdump, hwclock, ipcrm, ipcs, isosize, kill, line, logger, look, losetup, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more, mount, namei, parse.bash, parse.tcsh, pg, pivot_root, ramsize (link to rdev), raw, rdev, readprofile, rename, renice, rev, rootflags (link to rdev), script, setfdprm, setsid, setterm, sfdisk, swapoff (link to swapon), swapon, test.bash, test.tcsh, tunelp, ul, umount, vidmode (link to rdev), whereis and write
(Last checked against version 2.11n.)
Bash: sh
Binutils: as, ld
Coreutils: cat, chgrp, chmod, cp, install, ln, mv, rm, uname, whoami
Diffutils: cmp
GCC: cc, cc1, collect2, cpp
Gettext: msgfmt, xgettext
Glibc: rpcgen
Grep: grep
Make: make
Sed: sed
The FHS recommends that we use /var/lib/hwclock, instead of the usual /etc, as the location for the adjtime file. To make the hwclock program FHS-compliant, run the following:
cp hwclock/hwclock.c{,.backup} sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \ hwclock/hwclock.c.backup > hwclock/hwclock.c mkdir -p /var/lib/hwclock |
Prepare Util-linux for compilation:
./configure |
Compile the package:
make HAVE_SLN=yes |
The meaning of the make parameter:
HAVE_SLN=yes: This prevents the sln program (a statically linked ln, already installed by Glibc) from being built again.
And install the package:
make HAVE_SLN=yes install |