diff --git a/core/linux-cubox/PKGBUILD b/core/linux-cubox/PKGBUILD index 2b95daa19..8e5c80256 100644 --- a/core/linux-cubox/PKGBUILD +++ b/core/linux-cubox/PKGBUILD @@ -118,7 +118,7 @@ package_linux-cubox() { # remove the firmware rm -rf "${pkgdir}/lib/firmware" # gzip -9 all modules to save 100MB of space - find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \; + find "${pkgdir}" -name '*.ko' |xargs -P 2 -n 1 gzip -9 # make room for external modules ln -s "../extramodules-${pkgver}-${_kernelname:-ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules" # add real version for building modules and running depmod from post_install/upgrade