From a8a49b6fd898b655630b5f1f1f7c046a39b1633d Mon Sep 17 00:00:00 2001 From: Mike Brown Date: Tue, 22 Jan 2013 09:14:53 -0500 Subject: [PATCH] Update core/linux-kirkwood-dt/PKGBUILD Parallel module compression tweak --- core/linux-kirkwood-dt/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/linux-kirkwood-dt/PKGBUILD b/core/linux-kirkwood-dt/PKGBUILD index 54fce0572..0fcd7f9de 100644 --- a/core/linux-kirkwood-dt/PKGBUILD +++ b/core/linux-kirkwood-dt/PKGBUILD @@ -165,7 +165,7 @@ package_linux-kirkwood-dt() { # 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