brp-sign-kmodules.in: add support for zstd-compressed modules

It means that we support all module compression methods supported by
the modern Linux kernel because the v5.15 version supports gzip-, xz-,
zstd-compressed and uncompressed modules.
This commit is contained in:
Gleb Fotengauer-Malinovskiy 2021-11-02 22:36:07 +03:00
parent 8e9f5a8100
commit f8431643d5

View File

@ -112,6 +112,7 @@ case "$ext" in
ko) ;;
gz) rezip=gzip ;;
xz) rezip=xz ;;
zst) rezip='zstd --rm -q' ;;
*) Warning "$ext compression is not supported yet."; exit 0 ;;
esac