<< Back to man.ChinaUnix.net

5.33. Util-linux-2.12b

The Util-linux package contains miscellaneous utility programs. Among them are utilities for handling file systems, consoles, partitions, and messages.

Approximate build time: 0.2 SBU

Required disk space: 16 MB

Util-linux installation depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed, and Zlib

5.33.1. Installation of Util-linux

Util-linux does not use the freshly installed headers and libraries from the /tools directory. This is fixed by altering the configure script:

sed -i 's@/usr/include@/tools/include@g' configure

Prepare Util-linux for compilation:


Compile some support routines:

make -C lib

Since only a couple of the utilities contained in this package are needed, build only those:

make -C mount mount umount
make -C text-utils more

This package does not come with a test suite.

Copy these programs to the temporary tools directory:

cp mount/{,u}mount text-utils/more /tools/bin

Details on this package are located in Section 6.58.3, “Contents of Util-linux.”