summaryrefslogtreecommitdiffstats
path: root/abs/core/kernel26/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-01-12 04:34:12 (GMT)
committerCecil <knoppmyth@gmail.com>2011-01-12 04:34:12 (GMT)
commit1a0444e4bd112dd5fd39ad3d4f0e7ad0943a8282 (patch)
tree6992996cb5e3fad61100bf10e3f64b5d8341c222 /abs/core/kernel26/PKGBUILD
parent261d9eb4cd112769abffe0504f6b81fac985d2ca (diff)
downloadlinhes_pkgbuild-1a0444e4bd112dd5fd39ad3d4f0e7ad0943a8282.zip
linhes_pkgbuild-1a0444e4bd112dd5fd39ad3d4f0e7ad0943a8282.tar.gz
linhes_pkgbuild-1a0444e4bd112dd5fd39ad3d4f0e7ad0943a8282.tar.bz2
kernel26:Upgrade to 2.6.37
Diffstat (limited to 'abs/core/kernel26/PKGBUILD')
-rw-r--r--abs/core/kernel26/PKGBUILD41
1 files changed, 24 insertions, 17 deletions
diff --git a/abs/core/kernel26/PKGBUILD b/abs/core/kernel26/PKGBUILD
index 4b96810..3ffb6df 100644
--- a/abs/core/kernel26/PKGBUILD
+++ b/abs/core/kernel26/PKGBUILD
@@ -1,36 +1,38 @@
-# $Id: PKGBUILD 97522 2010-10-31 08:36:16Z tpowa $
+# $Id: PKGBUILD 105315 2011-01-07 18:08:55Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Thomas Baechler <thomas@archlinux.org>
pkgbase="kernel26"
pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
-#pkgname=kernel26-LINHES # Build kernel with a different name
+# pkgname=kernel26-custom # Build kernel with a different name
_kernelname=${pkgname#kernel26}
-_basekernel=2.6.36
-pkgver=${_basekernel}.2
+_basekernel=2.6.37
+pkgver=${_basekernel}
pkgrel=1
makedepends=('xmlto' 'docbook-xsl')
_patchname="patch-${pkgver}-${pkgrel}-ARCH"
#_patchname="patch-${pkgver}-1-ARCH"
-_fbpatchname="fbcondecor-0.9.6-2.6.36-rc8.patch"
+_fbpatchname="4200_fbcondecor-0.9.6.patch"
+_ckpatchname="patch-2.6.37-ck1"
+_lhpatchname="lh.patch"
arch=(i686 x86_64)
license=('GPL2')
url="http://www.kernel.org"
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
ftp://ftp.archlinux.org/other/kernel26/${_patchname}.bz2
- http://dev.gentoo.org/~spock/projects/fbcondecor/archive/${_fbpatchname}
- hdpvr.patch
+ http://kernel.org/pub/linux/kernel/people/ck/patches/2.6/2.6.37/2.6.37-ck1/patch-2.6.37-ck1.bz2
+ 4200_fbcondecor-0.9.6.patch
# the main kernel config files
- config config.x86_64
+ config config.x86_64 lh.patch
# standard config files for mkinitcpio ramdisk
kernel26.preset)
-
build() {
cd ${srcdir}/linux-$_basekernel
# Add -ARCH patches
# See http://projects.archlinux.org/linux-2.6-ARCH.git/
patch -Np1 -i ${srcdir}/${_patchname}
patch -Np1 -i ${srcdir}/${_fbpatchname}
- patch -Np1 -i ${srcdir}/hdpvr.patch
+ patch -Np1 -i ${srcdir}/${_ckpatchname}
+ patch -Np1 -i ${srcdir}/${_lhpatchname}
if [ "$CARCH" = "x86_64" ]; then
cat ../config.x86_64 >./.config
@@ -121,7 +123,7 @@ package_kernel26-headers() {
${pkgdir}/usr/src/linux-${_kernver}/.config
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include
- for i in acpi asm-generic config generated linux math-emu media net pcmcia scsi sound trace video; do
+ for i in acpi asm-generic config generated linux math-emu media net pcmcia scsi sound trace video xen; do
cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
done
@@ -200,6 +202,10 @@ package_kernel26-headers() {
# in reference to:
# http://bugs.archlinux.org/task/14568
cp -a include/trace $pkgdir/usr/src/linux-${_kernver}/include/
+ # add headers for crypto modules
+ # in reference to:
+ # http://bugs.archlinux.org/task/22081
+ cp -a include/crypto $pkgdir/usr/src/linux-${_kernver}/include/
# copy in Kconfig files
for i in `find . -name "Kconfig*"`; do
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
@@ -236,10 +242,11 @@ find $pkgdir -type d -exec chmod 755 {} \;
# remove a file already in kernel26 package
rm -f $pkgdir/usr/src/linux-$_kernver/Documentation/DocBook/Makefile
}
-md5sums=('61f3739a73afb6914cb007f37fb09b62'
- '998b597b8659f1ac2667bbc13d1905b8'
- 'c361ff66dcf4bb0efaa1e653e6604402'
- '46ba5b98c1a830dc0e7a2efa2c1fae42'
- 'b13742601ad3842a977eb661ff7a7bc8'
- 'c171acbcff1c013c5c9bafbe1531bd3b'
+md5sums=('c8ee37b4fdccdb651e0603d35350b434'
+ 'dd03325990dadb76e3fa94345649c229'
+ 'd5c93c7df1692d364c15d8eea0b384c9'
+ 'db9a807e03b7e8cfbc389089b006c7a7'
+ '5b284b5a93f285abfb71efa5d6a00eb2'
+ '58990501d493d3e516a9ff58b3e0e0e7'
+ '7cbc87a8aa29e18004edb892a76aaccd'
'25584700a0a679542929c4bed31433b6')