7.5. Util-linux-2.22.1

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

7.5.1. Installation of Util-linux

Prepare Util-linux for compilation:

CC="${CC} ${BUILD64}" PKG_CONFIG=true ./configure \
    --prefix=/tools --exec-prefix="" --build=${CLFS_HOST} \
    --host=${CLFS_TARGET} --libdir=/tools/lib64 --bindir=/tools/bin \
    --sbindir=/tools/sbin --disable-makeinstall-chown --disable-login \
    --disable-su --config-cache

Compile the package:

make

Install the package:

make usrsbin_execdir=/tools/sbin usrbin_execdir=/tools/bin install

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