Configuring and Building a custom CachyOS Kernel

Just stumbled across the custom kernel build tool which is a fantastic simplification for building an installing a custom kernel, especially useful as I have a custom patch to disable the ProArt P16 keyboard oobe state which won’t be mainlined until 6.14 at the end of March.

My laptop currently uses the Zen4 optimized default Cachyos kernel image. Within the kernel compilation tool, the CPU compiler options do not include Zen4? I gather the max CPU architecture optimization flags are thus Zen3 within the current version of the tool?

Additionally the custom package name being $pkgbase, how would I augment this to include a “-Custom-oobe” postfix?

Using the automatic CPU optimizations should use zen4.

$pkgbase-custom-oobe

FYI, I’ve seen the Proart 16 patch to disable OOBE, do you know why this is needed? I can include it in our patchset if it’s such a significant issue.

@naim Thanks for the clarification.
The oobe patch allows the P16 keyboard to properly reset during boot otherwise all the specialist Media keys (KB backlight, volume, screen brightness, microphone/webcam switches…) etc. and Fn lock remain unavailable. The keyboard backlight also pulsates, constantly brightening and darkening, without any means to intervene.

This should be included in 6.13.0 :). There wasn’t any commit details in the first iteration of the patch and I didn’t know what OOBE stand for.

1 Like

Fantastic, much appreciated!