Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Set compression levels to upstream defaults #476

Merged
merged 3 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dkms.in
Original file line number Diff line number Diff line change
Expand Up @@ -2691,9 +2691,9 @@ verbose=""
symlink_modules=""

# Set compression defaults
compress_gzip_opts="-9"
compress_gzip_opts=""
compress_xz_opts="--check=crc32 --lzma2=dict=1MiB"
compress_zstd_opts="-q -T0 -19"
compress_zstd_opts="-q -T0"

# Check that we can write temporary files
tmpfile=$(mktemp_or_die)
Expand Down
9 changes: 5 additions & 4 deletions dkms_framework.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
# parallel_jobs=2

# Compression settings DKMS uses when compressing modules. The defaults are
# tuned for maximum compression at the expense of speed when compressing.
# compress_gzip_opts="-9"
# compress_xz_opts="--check=crc32 --lzma2=dict=1MiB"
# compress_zstd_opts="-q -T0 -19"
# used, for reasonable compression times. One might instead wish to use
# maximum compression, at the expense of speed when compressing.
# compress_gzip_opts="-6"
# compress_xz_opts="--check=crc32 --lzma2=dict=1MiB -6"
# compress_zstd_opts="-q -T0 -3"