Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.09 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.09 KB

Arch Linux Kernel Builder (alkb)

Automate most of the manual tasks described in the Arch Build System to build a custom kernel.

Build the kernel

make

Once build is finished, you can install the kernel packages with the following commands:

cd build/package
pacman -U *.tar.zst

Build the kernel only with the modules needed by your system

Before running this script, you need to install and configure modprobed , then run

make modprobed

Build kernel with custom config

Add configuration in file patches/config, then just run

make

Note that you can also use custom config with modprobed task

Speed up build

As described in makepkg doc, you can build the kernel faster by setting the following options in /etc/makepkg.conf :

MAKEFLAGS="-j$(nproc)"
BUILDDIR=/tmp/makepkg