%general-entities; ]> Util-linux-&util-linux-version; Util-linux boot Installation of Util-linux 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 configure{,.orig} sed -e 's@/usr/include@/tools/include@g' configure.orig > configure Util-linux installs uses , the following sed removes that since we don't have users setup yet: cp MCONFIG{,.orig} sed -e 's|-o root||' MCONFIG.orig > MCONFIG ./configure make HAVE_KILL=yes HAVE_SLN=yes \ HAVE_SHADOW=no CPUOPT="" ARCH="" \ CPU="" The meaning of the make parameters: HAVE_SHADOW=no This disables linking to shadow . CPUOPT="" This disables any compiler optimizations by CPU type. ARCH="" This disables the detection of the architecture. CPU="" This disables the detection of the CPU. Install the package: make HAVE_KILL=yes HAVE_SLN=yes HAVE_SHADOW=no \ USE_TTY_GROUP=no CPUOPT="" ARCH="" \ CPU="" DESTDIR=${LFS} install Now we will put a copy of mount in /tools/bin: cp ${LFS}/bin/mount /tools/bin <para>Details on this package are located in <xref linkend="contents-util-linux" role="."/></para> </sect2> </sect1>