diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 932b794c..70e6b0e1 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -1043,13 +1043,10 @@ _tkg_srcprep() { if [[ "$_distro" = "Debian" || "$_distro" = "Ubuntu" ]]; then #Help Debian cert compile problem. scripts/config --set-str "SYSTEM_TRUSTED_KEYS" "" - #Debian/Ubuntu don't properly support zstd module compression - _disable "MODULE_COMPRESS_ZSTD" - _enable "MODULE_COMPRESS_NONE" - # 6.12 removed MODULE_COMPRESS_NONE, let's try gzip for debuntu instead of no compression - # dracut seems to search for gz by default also - if [[ $_kver -ge 612 ]]; then - _enable "MODULE_COMPRESS_GZIP" + if [[ $_kver -lt 612 ]]; then # note: 6.12 removed MODULE_COMPRESS_NONE + #Debian/Ubuntu don't properly support zstd module compression + _disable "MODULE_COMPRESS_ZSTD" + _enable "MODULE_COMPRESS_NONE" fi fi # Skip dbg package creation on non-Arch