summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrans-Willem Hardijzer2019-07-27 10:53:29 +0200
committerFrans-Willem Hardijzer2019-07-27 10:53:29 +0200
commit0fc791d02018e1856df2e934a99f0c6e06d26eb4 (patch)
treee279a62def324b7dff84a9cb01041468c1671882 /PKGBUILD
parentbe3ccf8c3ab283415dfb4ce6b41a3c61dc0f6f55 (diff)
downloadaur-0fc791d02018e1856df2e934a99f0c6e06d26eb4.tar.gz
Attempt to speed up compressing of kernel modules
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index df8d7d563eb..0bb3ae07497 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -49,7 +49,7 @@ package() {
_olddir="$(pwd)"
cd "${pkgdir}/usr/lib/modules/${_kernver}/"
echo "Compressing modules"
- find -name "*.ko" -exec xz -z {} \;
+ find -name "*.ko" -print0 | xargs -0 -n1 -P 4 xz -z
echo "Done compressing modules"
cd "${_olddir}"
ln -s "../${_extramodules}" "${pkgdir}/usr/lib/modules/${_kernver}/extramodules"