mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
Update core/linux-kirkwood-dt/PKGBUILD
Parallel module compression tweak
This commit is contained in:
parent
bd82e28057
commit
a8a49b6fd8
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ package_linux-kirkwood-dt() {
|
||||||
# remove the firmware
|
# remove the firmware
|
||||||
rm -rf "${pkgdir}/lib/firmware"
|
rm -rf "${pkgdir}/lib/firmware"
|
||||||
# gzip -9 all modules to save 100MB of space
|
# 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
|
# make room for external modules
|
||||||
ln -s "../extramodules-${_basekernel}-${_kernelname:-ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
|
ln -s "../extramodules-${_basekernel}-${_kernelname:-ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
|
||||||
# add real version for building modules and running depmod from post_install/upgrade
|
# add real version for building modules and running depmod from post_install/upgrade
|
||||||
|
|
Loading…
Reference in a new issue