TKG patches taken from here and the CPU optimization patch from here. All kernels feature the BMQ I/O scheduler, fsync patches, and more.
Two variants of each kernel are available, along with
linux5.13-tkg-bmq: With generic CPU optimizations.
linux5.13-tkg-bmq-zen: With AMD Zen family CPU optimizations.
Templates are available on the
linux-tkg branch of my void-packages fork.
./xbps-src pkg linux5.13-tkg-bmq
xbps-install --repository=./hostdir/binpkgs/linux-tkg linux5.13-tkg-bmq
You can find the index for each of your installed kernels like this:
grep 'menuentry ' /boot/grub/grub.cfg | cut -f 2 -d "'" | nl -v -1 -1 Void GNU/Linux 0 Void GNU/Linux, with Linux 5.9.12_2 1 Void GNU/Linux, with Linux 5.9.12_2 (recovery mode) 2 Void GNU/Linux, with Linux 5.9.12-tkg-muqss_1 3 Void GNU/Linux, with Linux 5.9.12-tkg-muqss_1 (recovery mode)
In this example, you can set your
GRUB_DEFAULT value in
"1>2" to boot into the TKG kernel by default (be sure to run
update-grub after making this change to apply it).
If you've got both an official
linuxN.N package as well as a TKG kernel of the corresponding version, in most cases
"1>2" should enable you to boot into the TKG kernel.
Read here for more information about Grub2 submenus.