diff --git a/core/linux-am33x/PKGBUILD b/core/linux-am33x/PKGBUILD index d47fa5f4b..2e1af8506 100644 --- a/core/linux-am33x/PKGBUILD +++ b/core/linux-am33x/PKGBUILD @@ -119,7 +119,7 @@ package_linux-am33x() { # 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-${_basekernel}-${_kernelname:-ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules" # add real version for building modules and running depmod from post_install/upgrade