Installing Util-linux-2.12

Approximate build time:  0.1 SBU
Required disk space:     8 MB

Official download location for Util-linux (2.12):
http://ftp.cwi.nl/aeb/util-linux/

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

Installation of Util-linux

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

cp configure configure.backup
sed "s@/usr/include@/tools/include@g" configure.backup > configure

Prepare Util-linux for compilation:

./configure

Compile some support routines:

make -C lib

And, since you'll need only a couple of the utilities contained in this package, build just those:

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

Now copy these programs to the temporary tools directory:

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

The details on this package are found in the Section called Contents of Util-linux in Chapter 6.