@romulasry zstd compression is already included to xanmod kernel. You can activate by default setting CONFIG_KERNEL_ZSTD in build time.
You can use myscript file, just create that file and add:
scripts/config --enable CONFIG_KERNEL_ZSTD
scripts/config --disable CONFIG_KERNEL_LZ4
I haven't tested, but should do the trick.
Pinned Comments
figue commented on 2018-12-14 00:50 (UTC) (edited on 2023-02-27 20:00 (UTC) by figue)
This package have several variables to enable/disable features.
Personally I'm running now xanmod kernel compiled with this:
Also, you can now create the file myconfig in your local repo to build this package with a custom config or use ${XDG_CONFIG_HOME}/linux-xanmod/myconfig. This file can be a full kernel config or be a script with several entries to add/remove options (you have several examples in PKGBUILD by using scripts/config):
Code involved: