diff options
author | Chocobo1 <Chocobo1@users.noreply.github.com> | 2020-10-30 05:20:28 +0100 |
---|---|---|
committer | Chocobo1 <Chocobo1@users.noreply.github.com> | 2020-10-30 05:33:43 +0100 |
commit | ff24ed89f8074392df4e0098e3ebb4f2ee0db02e (patch) | |
tree | fac8868b1ada9c9f15c677ad92057566e6608f40 | |
parent | 6e4603638b459468d235437c6a47584d609a86a2 (diff) | |
download | mkinitcpio-ff24ed89f8074392df4e0098e3ebb4f2ee0db02e.tar.gz mkinitcpio-ff24ed89f8074392df4e0098e3ebb4f2ee0db02e.tar.xz |
Allow user to override default compression options
-rwxr-xr-x | mkinitcpio | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -206,13 +206,13 @@ build_image() { msg "Creating %s-compressed initcpio image: %s" "$compress" "$out" ;;& xz) - COMPRESSION_OPTIONS+=('--check=crc32') + COMPRESSION_OPTIONS=('--check=crc32' "${COMPRESSION_OPTIONS[@]}") ;; lz4) - COMPRESSION_OPTIONS+=('-l') + COMPRESSION_OPTIONS=('-l' "${COMPRESSION_OPTIONS[@]}") ;; zstd) - COMPRESSION_OPTIONS+=('-19' '-T0') + COMPRESSION_OPTIONS=('-19' '-T0' "${COMPRESSION_OPTIONS[@]}") ;; esac |