%general-entities; ]> Kmod-&kmod-version; Kmod boot Installation of Kmod The following sed changes Kmod's default module search location to /tools/lib/modules: cp -v libkmod/libkmod.c{,.orig} sed '/dirname_default_prefix /s@/lib/modules@/tools&@' \ libkmod/libkmod.c.orig > libkmod/libkmod.c ./configure \ --prefix=/tools \ --build=${CLFS_HOST} \ --host=${CLFS_TARGET} \ --with-xz \ --with-zlib The meaning of the new configure options: --with-zlib --with-xz These allow the Kmod package to handle zlib and XZ compressed kernel modules. make install ln -sfv kmod /tools/bin/lsmod for tool in depmod insmod modprobe modinfo rmmod; do ln -sv ../bin/kmod /tools/sbin/${tool} done <para>Details on this package are located in <xref linkend="contents-kmod" role="."/></para> </sect2> </sect1>