Details on this package are located in Section 6.17.2, “Contents of Coreutils.”
The Coreutils package contains utilities for showing and setting the basic system characteristics.
User Notes: http://wiki.linuxfromscratch.org/hlfs/wiki/coreutils
Prepare Coreutils for compilation:
./configure --prefix=/tools --enable-install-program=hostname
The meaning of the configure options:
--enable-install-program=hostname
This enables the hostname binary to be built and installed – it is disabled by default but is required by the Perl test suite.
Compile the package:
make
Install the package:
make install
The above command refuses to install su because it cannot install it setuid root as a
non-privileged user. By manually installing it with a different
name, we can use it for running tests in the final system as a
non-privileged user and we keep a possibly useful su from our host first place in
our PATH. Install it with:
install -v src/su /tools/bin/su-tools
Details on this package are located in Section 6.17.2, “Contents of Coreutils.”