[arch-commits] Commit in kernel26-lts/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Fri Feb 4 17:00:11 EST 2011


    Date: Friday, February 4, 2011 @ 17:00:09
  Author: tpowa
Revision: 108926

upgpkg: kernel26-lts 2.6.32.28-3
rebuild with zipped modules

Modified:
  kernel26-lts/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-04 21:52:19 UTC (rev 108925)
+++ PKGBUILD	2011-02-04 22:00:09 UTC (rev 108926)
@@ -6,7 +6,7 @@
 _kernelname=${pkgname#kernel26}
 _basekernel=2.6.32
 pkgver=${_basekernel}.28
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 license=('GPL2')
 url="http://www.kernel.org"
@@ -68,7 +68,7 @@
 package_kernel26-lts() {
   pkgdesc="The Linux Kernel and modules - stable longtime supported kernel package suitable for servers"
   backup=(etc/mkinitcpio.d/${pkgname}.preset)
-  depends=('coreutils' 'kernel26-firmware>=2.6.32' 'module-init-tools' 'mkinitcpio>=0.6.4')
+  depends=('coreutils' 'kernel26-firmware>=2.6.32' 'module-init-tools>=3.12-2' 'mkinitcpio>=0.6.8')
   install=${pkgname}.install
 
   KARCH=x86
@@ -100,6 +100,8 @@
   rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
   # remove the firmware
   rm -rf ${pkgdir}/lib/firmware
+  # gzip -9 all modules to safe 100MB of space
+  find "$pkgdir" -name '*.ko' -exec gzip -9 {} \;
 }
 
 package_kernel26-lts-headers() {



More information about the arch-commits mailing list