6.27. Util-linux-2.29.2

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

6.27.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 \
    --disable-nologin \

The meaning of the new configure option:


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


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


This prevents Util-linux from installing nologin.


This avoids the building of unneeded Python bindings when Python is installed on the host system.

Compile the package:


Install the package:

make install

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