10.73. Kmod-15 32 Bit Libraries

The Kmod package contains programs for loading, inserting and removing kernel modules for Linux. Kmod replaces the Module-Init-tools package.

10.73.1. Installation of Kmod

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 --disable-manpages

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
make -C man install

Details on this package are located in Section 10.74.2, “Contents of Kmod.”