Custom Gentoo Linux kernel

Upgrading kernel

Fetch firmware distfiles to install missing firmware files after reboot (when network can be unavailable):

BASH
emerge -f linux-firmware intel-microcode

Install new kernel version and update config:

BASH
USE="symlink" emerge -av gentoo-sources
cd /usr/src
cp -a linux-OLD/.config linux/
make oldconfig

Configure setup options in /etc/genkernel.conf. Most important are:

then run:

BASH
genkernel all

Reboot. Check for missing firmware files and install as necessary:

BASH
dmesg | grep firmware | grep failure

Noteworthy kernel options

Option names and configuration symbols are based on Linux Kernel v6.12.

Bluetooth

Sending files over interface using e.g. blueman:

Security hardening

Control flow Enforcement Technology, used when +cet USE flag is enabled for build toolchain:

Wireguard

###. TODO: merge wiki kernel install