Skip to content

Commit b3d2dcb

Browse files
dirkmuellerjohannbg
authored andcommitted
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.
1 parent 0e80ff7 commit b3d2dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ installkernel() {
173173

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

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

0 commit comments

Comments
 (0)