MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« Linux PAM 32-bit HOME Kmod 32-bit »

Kmod 64-bit

Name: Kmod 64-bit
Summary: Tools and libraries for loading Kernel modules
License: LGPL v2.1 or later
Version: 34.2
URL: https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-34.2.tar.xz

Average Build Time: less than 0.1 SBU
Used Install Space: 508 KiB

Configuration

To configure Kmod 64-bit for install into the build root, run the following command:

mkdir -p build
cd       build

meson setup --prefix=/usr                               \
            --libdir=/usr/lib64                         \
            --libexecdir=/usr/lib64                     \
            --buildtype=release                         \
            -Dbashcompletiondir=/etc/bash_completion.d  \
            -Dfishcompletiondir=no                      \
            -Dzshcompletiondir=/etc/zsh_completion.d    \
            -Dmoduledir=/usr/lib/modules                \
            -Ddlopen=all                                \
            -Ddocs=false                                \
            ..

Compilation and Installation

To compile Kmod 64-bit, run the following command:

ninja

There are no tests for this package.

Finally, to install Kmod 64-bit into the build tree, run the following command:

ninja install

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Programs kmod, depmod, insmod, lsmod, modinfo, modprobe, and rmmod
Installed Libraries libkmod.so
Navigation    
« Linux PAM 32-bit HOME Kmod 32-bit »