diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-03-26 00:42:55 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-03-26 00:42:55 -0300 |
commit | 91710751dd713a402c65106b44f083f9b44a8ab3 (patch) | |
tree | cf4ea4a583484d36b0cbeff4b025e2f7a8e3ca65 /libre-testing/kernel26-libre/PKGBUILD | |
parent | cef2c81257cc44bce4ecd1e74d4c25e4b51cfce1 (diff) | |
download | abslibre-91710751dd713a402c65106b44f083f9b44a8ab3.tar.gz abslibre-91710751dd713a402c65106b44f083f9b44a8ab3.tar.bz2 abslibre-91710751dd713a402c65106b44f083f9b44a8ab3.zip |
kernel26-libre-2.6.38.1-1
Diffstat (limited to 'libre-testing/kernel26-libre/PKGBUILD')
-rw-r--r-- | libre-testing/kernel26-libre/PKGBUILD | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/libre-testing/kernel26-libre/PKGBUILD b/libre-testing/kernel26-libre/PKGBUILD index 0525c4b1c..3c45cc49e 100644 --- a/libre-testing/kernel26-libre/PKGBUILD +++ b/libre-testing/kernel26-libre/PKGBUILD @@ -6,7 +6,7 @@ pkgbase="kernel26-libre" pkgname=('kernel26-libre' 'kernel26-libre-headers' 'kernel26-libre-docs') # Build stock -LIBRE kernel _kernelname=${pkgname#kernel26-libre} _basekernel=2.6.38 -pkgver=${_basekernel} +pkgver=${_basekernel}.1 pkgrel=1 makedepends=('xmlto' 'docbook-xsl') _patchname="patch-${pkgver}-${pkgrel}-LIBRE" @@ -223,6 +223,17 @@ package_kernel26-libre-headers() { chown -R root.root ${pkgdir}/usr/src/linux-${_kernver} find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \; + # strip scripts directory + find ${pkgdir}/usr/src/linux-${_kernver}/scripts -type f -perm -u+w 2>/dev/null | while read binary ; do + case "$(file -bi "$binary")" in + *application/x-sharedlib*) # Libraries (.so) + /usr/bin/strip $STRIP_SHARED "$binary";; + *application/x-archive*) # Libraries (.a) + /usr/bin/strip $STRIP_STATIC "$binary";; + *application/x-executable*) # Binaries + /usr/bin/strip $STRIP_BINARIES "$binary";; + esac + done # remove unneeded architectures rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa} } @@ -247,3 +258,9 @@ md5sums=('21911d61ac22d66e71697a3d5ae092ba' '8839a83dc7f3b90056691efbd67438d1' '25584700a0a679542929c4bed31433b6' '1bff12f1ba69206b1abee2bba4b7619c') +md5sums=('343617f67979845d9320b890437af930' + '95528a6936c31baf71ccb799f7914356' + '8f709c91e3ed2f9808e7cef4cbd8150b' + '38e5d9db7fecbb60433d8ca443829bd6' + '25584700a0a679542929c4bed31433b6' + '1bff12f1ba69206b1abee2bba4b7619c') |