Browse Source

fix(kernel-modules-extra): handle zstd module extension

The regular expression here is trying to handle various kernel
module compression schemas and was missing the zst extension
which indicates use of zstd.
master
Dirk Müller 2 years ago committed by Jóhann B. Guðmundsson
parent
commit
b3d2dcb71e
  1. 2
      modules.d/90kernel-modules-extra/module-setup.sh

2
modules.d/90kernel-modules-extra/module-setup.sh

@ -173,7 +173,7 @@ installkernel() { @@ -173,7 +173,7 @@ installkernel() {

((${#pathlist[@]} > 0)) || return 0

printf "^%s\.ko(\.gz|\.bz2|\.xz)?:\n" "${pathlist[@]}" \
printf "^%s\.ko(\.gz|\.bz2|\.xz|\.zst)?:\n" "${pathlist[@]}" \
| (LANG=C grep -E -o -f - -- "$depmod_modules_dep" || exit 0) \
| tr -d ':' \
| (

Loading…
Cancel
Save