Details on this package are located in Section 10.68.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.
The following patch fixes build issues with the changes to the Linux 2.6.18 headers:
patch -Np1 -i ../util-linux-2.12r-syscall_fixes-1.patch
Util-linux does not use the freshly installed headers and libraries from the /tools directory by default. This is fixed by altering the configure script:
cp -v configure{,.orig}
sed -e 's@/usr/include@/tools/include@g' configure.orig > configure
Prepare Util-linux for compilation:
CC="${CC} ${BUILD64}" ./configure
Compile some support routines:
make ARCH="" CPU="" -C lib
The meaning of the make parameters:
This disables the detection of the architecture.
This disables the detection of the CPU.
Only a few of the utilities contained in this package need to be built:
make ARCH="" CPU="" -C mount mount umount make ARCH="" CPU="" -C text-utils more
Copy these programs to the temporary tools directory:
cp -v mount/{,u}mount text-utils/more /tools/bin
Details on this package are located in Section 10.68.3, “Contents of Util-linux.”