From b1787c8867eb85f7fc6ac97bbc649b0f22d8f9bd Mon Sep 17 00:00:00 2001 From: Mike Brown Date: Tue, 22 Jan 2013 09:17:52 -0500 Subject: [PATCH] Update core/linux-cubox/PKGBUILD Parallel module compression tweak --- core/linux-cubox/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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