Details on this package are located in Section 10.88.2, “Contents of Kmod.”
The Kmod package contains programs for loading, inserting and removing kernel modules for Linux. Kmod replaces the Module-Init-tools package.
Prepare Kmod for compilation:
PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} CC="gcc ${BUILD32}" \ ./configure \ --prefix=/usr \ --bindir=/bin \ --sysconfdir=/etc \ --with-rootlibdir=/lib \ --libdir=/usr/lib \ --with-zlib \ --with-xz
The meaning of the configure option:
--with-rootlibdir=/lib
Install location for shared libraries.
--with-zlib
--with-xz
This allows the Kmod package to handle zlib and XZ compressed kernel modules.
Compile the package:
make
To test the results, issue:
make check
Install the package:
make install
Details on this package are located in Section 10.88.2, “Contents of Kmod.”