Automate most of the manual tasks described in the Arch Build System to build a custom kernel.
makeOnce build is finished, you can install the kernel packages with the following commands:
cd build/package
pacman -U *.tar.zstBefore running this script, you need to install and configure modprobed , then run
make modprobedAdd configuration in file patches/config, then just run
makeNote that you can also use custom config with modprobed task
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