KDE Linux/Kernel Development
Appearance
THIS IS WIP!
Building your own Unified Kernel Image
To build your own UKI you'll want to first set up a regular runtime sysext, install the kernel+modules there and then rebuild the EFI files.
# Build your kernel as usual but install to your sysext.
make -j$(nproc)
make INSTALL_MOD_PATH="$HOME/kde/usr" modules_install
version=$(make -s kernelrelease)
install -Dm644 "$(make -s image_name)" "$HOME/kde/usr/lib/modules/$version/vmlinuz"
run0 systemd-sysext refresh
# Rebuild the EFI files (based on what is now available in /usr)
run0 _kde-linux-rebuild-efi
# Install the kde-linux UKI. Will show up as unversioned entry in systemd-boot.
run0 cp kde-linux.efi /boot/EFI/Linux/