Skip to content

Commit

Permalink
6.12: debuntu: Looks like gz module compression isn't the answer, and…
Browse files Browse the repository at this point in the history
… keeping our defaults reportedly works on at least Ubuntu 24.10. Hopefully will also work with Debian 13.

Fixes b4e7e9b
Fixes #1033 - Maybe
  • Loading branch information
Tk-Glitch committed Nov 23, 2024
1 parent b4e7e9b commit 25cff49
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions linux-tkg-config/prepare
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25cff49

Please sign in to comment.