diff --git a/PKGBUILD b/PKGBUILD index fb09eb4..a0b5a55 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -809,7 +809,7 @@ _package-zfs(){ cd ${srcdir}/"zfs" install -dm755 "$pkgdir/usr/lib/modules/${_kernver}-${pkgsuffix}" - install -m644 module/*.ko "$pkgdir/usr/lib/modules/${_kernver}-${pkgsuffix}" + install -m644 module/*/*.ko "$pkgdir/usr/lib/modules/${_kernver}-${pkgsuffix}" find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" }