I have recently switched to linux-lqx kernel. I know this is “unofficial” but I am hoping someone can help me anyway.
By default, the kernel config for linux-lqx disables most of the CPU governors and makes “performance” governor the default.
Since this is a terrible configuration for a laptop, I edited the build file to enable _makexconfig and then used xconfig to enable all the governors and make schedutil the default. Then carry on with the kernel compilation and install. Works perfectly, no problems.
Well, pamac just notified me of an update to linux-lqx and I was curious so I checked the config. Of course the config in the new update also disables most of the governors and makes “performance” the default - so I had to once again enable _makexconfig and manually make the changes before building the updated kernel.
So, my question is - can I somehow save my preferred kernel config and configure the system (pamac?) to always use that saved kernel config when building any linux-lqx kernel?
The goal would be that I could run an update via pamac and, if there is a linux-lqx update, my system will build the kernel the way I define in the saved kernel config (with no manual intervention required).
Okay I found the option and the comment certainly seems to address my goal.
# Use the current kernel's .config file
# Enabling this option will use the .config of the RUNNING kernel rather than
# the ARCH defaults. Useful when the package gets updated and you already went
# through the trouble of customizing your config options. NOT recommended when
# a new kernel is released, but again, convenient for package bumps.
Manual intervention is still required, but it is much less involved since all I need to do is enable _use_current rather than running xconfig and clickity clicking, etc.
This is a good enough solution. Thanks. And yes, I realize I could have found this option easily if I had read the build file more.
Funny, because I tried for hours to figure out how to get the Zen kernel installed in Manjaro and came up empty-handed. Then I stumbled onto discussions about Zen that mentioned Liquorix and found liquorix dot net - and it seems to me Zen ~= Liquorix or the other way around.
Then searched pamac for Liquorix and found linux-lqx and I was off to the races. I don’t mind having to wait for the kernel to compile. On a modern CPU it is only a few minutes.
Also, if Zen kernel has most of the governors disabled (the way lqx does) then a pre-built Zen wouldn’t work for me.