Details on this package are located in Section 10.76.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 GCC 4.1.1:
patch -Np1 -i ../util-linux-2.12r-gcc4_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 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
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.76.3, “Contents of Util-linux.”