Skip to content

Commit

Permalink
6.12: debuntu: 6.12 removed MODULE_COMPRESS_NONE, let's try gzip for …
Browse files Browse the repository at this point in the history
…debuntu instead of no compression

Fixes #1033
  • Loading branch information
Tk-Glitch committed Nov 22, 2024
1 parent d7cbc2a commit b4e7e9b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions linux-tkg-config/prepare
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,11 @@ _tkg_srcprep() {
#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"
fi
fi
# Skip dbg package creation on non-Arch
if [ "$_distro" != "Arch" ]; then
Expand Down

0 comments on commit b4e7e9b

Please sign in to comment.