6.28. Util-linux-2.24.2

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

6.28.1. Installation of Util-linux

Prepare Util-linux for compilation:

./configure --prefix=/tools \
    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --libdir='${prefix}'/lib64 --disable-makeinstall-chown \
    --disable-makeinstall-setuid

The meaning of the new configure option:

--disable-makeinstall-chown

This prevents Util-linux from trying to perform any chown commands when it is installed.

--disable-makeinstall-setuid

This prevents Util-linux from enabling the setuid bit on any of its installed programs.

Compile the package:

make

Install the package:

make install

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