Details on this package are located in Section 10.123.3, “Contents of Util-linux.”
The Util-linux package contains miscellaneous utility programs. Among them are utilities for handling file systems, consoles, partitions, and messages.
Prepare Util-linux for compilation:
NCURSESW6_CONFIG=" " \ NCURSES6_CONFIG=" " \ NCURSESW5_CONFIG=" " \ NCURSES5_CONFIG=" " \ ./configure \ --prefix=/tools \ --build=${CLFS_HOST} \ --host=${CLFS_TARGET} \ --libdir='${prefix}'/lib64 \ --disable-makeinstall-chown \ --disable-makeinstall-setuid \ --disable-nologin \ --without-python
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.
--disable-nologin
This prevents Util-linux from installing nologin.
--without-python
This avoids the building of unneeded Python bindings when Python is installed on the host system.
Compile the package:
make
Install the package:
make install
Details on this package are located in Section 10.123.3, “Contents of Util-linux.”