Details on this package are located in Section 10.45.2, “Contents of Coreutils.”
The Coreutils package contains utilities for showing and setting the basic system characteristics.
Prepare Coreutils for compilation:
./configure \ --prefix=/tools \ --build=${CLFS_HOST} \ --host=${CLFS_TARGET} \ --enable-install-program=hostname \ --cache-file=config.cache
The meaning of the new configure option:
--enable-install-program=hostname
Tells Coreutils to install hostname, which is needed for the Perl test suite.
Adjust the Makefile so man pages aren't generated:
sed -i -e 's/^man1_MANS/#man1_MANS/' Makefile
Compile the package:
make
Install the package:
make install
Details on this package are located in Section 10.45.2, “Contents of Coreutils.”