summaryrefslogtreecommitdiff
path: root/update-kernel.in
diff options
context:
space:
mode:
Diffstat (limited to 'update-kernel.in')
-rw-r--r--update-kernel.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/update-kernel.in b/update-kernel.in
index f21db2e..a995de5 100644
--- a/update-kernel.in
+++ b/update-kernel.in
@@ -278,9 +278,9 @@ DTBDIR=$ROOT/boot/dtbs-$FLAVOR
[ -d "$DTBDIR" ] || DTBDIR=$ROOT/usr/lib/linux-$KVER
[ -d "$DTBDIR" ] || DTBDIR=$ROOT/boot
find $ROOT/lib/modules \
- -name \*.gz -exec gunzip {} + \
- -o -name \*.xz -exec unxz {} + \
- -o -name \*.zst -exec unzstd --rm {} + \
+ -name \*.ko.gz -exec gunzip {} + \
+ -o -name \*.ko.xz -exec unxz {} + \
+ -o -name \*.ko.zst -exec unzstd --rm {} + \
-o ! -name '' # don't fail if no files found. busybox find doesn't support -true
depmod -b $ROOT "$KVER"