Skip to content

Commit

Permalink
fix(kernel-modules-extra): handle zstd module extension
Browse files Browse the repository at this point in the history
The regular expression here is trying to handle various kernel
module compression schemas and was missing the zst extension
which indicates use of zstd.
  • Loading branch information
dirkmueller authored and johannbg committed Feb 2, 2022
1 parent 0e80ff7 commit b3d2dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/90kernel-modules-extra/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ':' \
| (
Expand Down

0 comments on commit b3d2dcb

Please sign in to comment.