Allow user to override default compression options
Created by: Chocobo1
Background info: I was using lz4 for its speed and switched to zstd after the recent release. However zstd -19
is very slow on my machine and I wish to override the compression level which I found is impossible and hence this patch.
Another related question, why only zstd utilize a compression level that is not the program default (-3
)? All others (lz4, gzip) use the default compression level from the respective programs.
EDIT: Answering the question myself, see: https://github.com/archlinux/mkinitcpio/pull/35#discussion_r460510753