Custom Gentoo Linux kernel

Upgrading kernel

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

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