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

Tobias Powalowski tpowa at archlinux.org
Wed Jan 26 15:49:37 EST 2011


    Date: Wednesday, January 26, 2011 @ 15:49:36
  Author: tpowa
Revision: 107577

upgpkg: kernel26 2.6.37-3
rebuild with mkinitcpio bump to 0.6.8 and gzipped modules safes 70MB space

Modified:
  kernel26/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-26 20:10:13 UTC (rev 107576)
+++ PKGBUILD	2011-01-26 20:49:36 UTC (rev 107577)
@@ -7,10 +7,10 @@
 _kernelname=${pkgname#kernel26}
 _basekernel=2.6.37
 pkgver=${_basekernel}
-pkgrel=2
+pkgrel=3
 makedepends=('xmlto' 'docbook-xsl')
-_patchname="patch-${pkgver}-${pkgrel}-ARCH"
-#_patchname="patch-${pkgver}-1-ARCH"
+#_patchname="patch-${pkgver}-${pkgrel}-ARCH"
+_patchname="patch-${pkgver}-2-ARCH"
 arch=(i686 x86_64)
 license=('GPL2')
 url="http://www.kernel.org"
@@ -65,7 +65,7 @@
   pkgdesc="The Linux Kernel and modules"
   groups=('base')
   backup=(etc/mkinitcpio.d/${pkgname}.preset)
-  depends=('coreutils' 'linux-firmware' 'module-init-tools' 'mkinitcpio>=0.5.20')
+  depends=('coreutils' 'linux-firmware' 'module-init-tools' 'mkinitcpio>=0.6.8')
   # pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
   # nforce package support was abandoned by nvidia, kernel modules should cover everything now.
   # kernel24 support is dropped since glibc24
@@ -106,6 +106,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-headers() {



More information about the arch-commits mailing list