diff --git a/core/linux-imx6/PKGBUILD b/core/linux-imx6/PKGBUILD index 615e00829..aefdf0618 100644 --- a/core/linux-imx6/PKGBUILD +++ b/core/linux-imx6/PKGBUILD @@ -114,7 +114,7 @@ package_linux-imx6() { # 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 diff --git a/core/linux-kirkwood/PKGBUILD b/core/linux-kirkwood/PKGBUILD index 2eda9414e..7b2e34e8b 100644 --- a/core/linux-kirkwood/PKGBUILD +++ b/core/linux-kirkwood/PKGBUILD @@ -140,7 +140,7 @@ package_linux-kirkwood() { # 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 diff --git a/core/linux-mmp/PKGBUILD b/core/linux-mmp/PKGBUILD index afa6c6453..92cce3432 100644 --- a/core/linux-mmp/PKGBUILD +++ b/core/linux-mmp/PKGBUILD @@ -132,7 +132,7 @@ package_linux-mmp() { # 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 diff --git a/core/linux-olinuxino/PKGBUILD b/core/linux-olinuxino/PKGBUILD index d588002c2..8dd3a9943 100644 --- a/core/linux-olinuxino/PKGBUILD +++ b/core/linux-olinuxino/PKGBUILD @@ -126,7 +126,7 @@ package_linux-olinuxino() { # 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 diff --git a/core/linux-omap/PKGBUILD b/core/linux-omap/PKGBUILD index 289d9659d..d8704e8dd 100644 --- a/core/linux-omap/PKGBUILD +++ b/core/linux-omap/PKGBUILD @@ -116,7 +116,7 @@ package_linux-omap() { # 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 diff --git a/core/linux-orion/PKGBUILD b/core/linux-orion/PKGBUILD index 58b6291dc..436d12a0b 100644 --- a/core/linux-orion/PKGBUILD +++ b/core/linux-orion/PKGBUILD @@ -132,7 +132,7 @@ package_linux-orion() { # 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 diff --git a/core/linux-ox820/PKGBUILD b/core/linux-ox820/PKGBUILD index ac916f150..56d1a1ee2 100644 --- a/core/linux-ox820/PKGBUILD +++ b/core/linux-ox820/PKGBUILD @@ -119,7 +119,7 @@ package_linux-ox820() { # 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 diff --git a/core/linux-raspberrypi/PKGBUILD b/core/linux-raspberrypi/PKGBUILD index 96f33c229..10347976f 100644 --- a/core/linux-raspberrypi/PKGBUILD +++ b/core/linux-raspberrypi/PKGBUILD @@ -120,7 +120,7 @@ package_linux-raspberrypi() { # 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 diff --git a/core/linux-sun4i/PKGBUILD b/core/linux-sun4i/PKGBUILD index 39863010c..cf829e94d 100644 --- a/core/linux-sun4i/PKGBUILD +++ b/core/linux-sun4i/PKGBUILD @@ -115,7 +115,7 @@ package_linux-sun4i() { # 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 diff --git a/core/linux-sun5i/PKGBUILD b/core/linux-sun5i/PKGBUILD index 4d8dca6df..246d5f361 100644 --- a/core/linux-sun5i/PKGBUILD +++ b/core/linux-sun5i/PKGBUILD @@ -116,7 +116,7 @@ package_linux-sun5i() { # 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 diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD index c4715db82..d1f610660 100644 --- a/core/linux/PKGBUILD +++ b/core/linux/PKGBUILD @@ -162,7 +162,7 @@ package_linux() { # 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