Update core/linux-imx5/PKGBUILD

Parallel module compression tweak
This commit is contained in:
Mike Brown 2013-01-22 09:29:03 -05:00
parent b1787c8867
commit 94d8186e5b

View file

@ -113,7 +113,7 @@ package_linux-imx5() {
# 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 FIXME
ln -s "../extramodules-${_basekernel}-${_kernelname:-ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
# add real version for building modules and running depmod from post_install/upgrade