summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/kernel26/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-26 06:30:59 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-26 06:30:59 (GMT)
commit22717178ce9fdec1b5711bcaea5a39e2334d94b1 (patch)
tree11ef6ca700440089dedccad0ea1637213effc3b4 /abs/core-testing/kernel26/PKGBUILD
parente4b0f387e05bf4ff0df15885a69c5e704ece612f (diff)
downloadlinhes_pkgbuild-22717178ce9fdec1b5711bcaea5a39e2334d94b1.zip
linhes_pkgbuild-22717178ce9fdec1b5711bcaea5a39e2334d94b1.tar.gz
linhes_pkgbuild-22717178ce9fdec1b5711bcaea5a39e2334d94b1.tar.bz2
Needed to installed newer kernel.
Diffstat (limited to 'abs/core-testing/kernel26/PKGBUILD')
-rw-r--r--abs/core-testing/kernel26/PKGBUILD35
1 files changed, 17 insertions, 18 deletions
diff --git a/abs/core-testing/kernel26/PKGBUILD b/abs/core-testing/kernel26/PKGBUILD
index 3966ee1..bafbd38 100644
--- a/abs/core-testing/kernel26/PKGBUILD
+++ b/abs/core-testing/kernel26/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 22035 2008-12-21 10:00:17Z tpowa $
+# $Id: PKGBUILD 24584 2009-01-18 19:58:10Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Thomas Baechler <thomas@archlinux.org>
pkgname=kernel26
-_basekernel=2.6.27
-pkgver=2.6.27.10
+_basekernel=2.6.28
+pkgver=2.6.28.1
pkgrel=1
_patchname="patch-${pkgver}-${pkgrel}-ARCH"
pkgdesc="The Linux Kernel and modules"
@@ -12,7 +12,7 @@ license=('GPL2')
groups=('base')
url="http://www.kernel.org"
backup=(etc/mkinitcpio.d/${pkgname}.preset)
-depends=('coreutils' 'module-init-tools' 'mkinitcpio>=0.5.18')
+depends=('coreutils' 'module-init-tools' 'mkinitcpio>=0.5.20')
# 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
@@ -20,7 +20,7 @@ replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
'alsa-driver' 'ieee80211' 'hostap-driver26'
'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
- 'gspcav1')
+ 'gspcav1' 'atl2' 'wlan-ng26')
install=kernel26.install
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
ftp://ftp.archlinux.org/other/kernel26/${_patchname}.bz2
@@ -28,17 +28,14 @@ source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
config config.x86_64
# standard config files for mkinitcpio ramdisk
kernel26.preset
- logo_linux_clut224.ppm
- logo_linux_mono.pbm
- logo_linux_vga16.ppm)
-md5sums=('b3e78977aa79d3754cb7f8143d7ddabd'
- '05083482b71bc6c364a96d318e5b49fe'
- '56ca3800d4567ba728382d02417152af'
- '5e96d95aec10471017e8b7c12d11a2d3'
+ logo_linux_clut224.ppm)
+optdepends=('crda: to set the correct wireless channels of your country')
+md5sums=('d351e44709c9810b85e29b877f50968a'
+ '3a04439a0507847b45809b267c4db81b'
+ '817a3ae21ce441c5cfcff28a453354a6'
+ '959b317feb974d8906c5e15e7c76ad8f'
'25584700a0a679542929c4bed31433b6'
- '7bdfe2e1daedb324fdfdfa95ba4e2430'
- '3cc08afb1575b4c79d3f9c3410260ce2'
- 'a54b65186d0922f3890f9716cdb4f4a5')
+ '7bdfe2e1daedb324fdfdfa95ba4e2430')
build() {
KARCH=x86
@@ -47,15 +44,13 @@ build() {
# Add -ARCH patches
# See http://projects.archlinux.org/git/?p=linux-2.6-ARCH.git;a=summary
patch -Np1 -i ${srcdir}/${_patchname} || return 1
+ cp ../logo_linux_clut224.ppm drivers/video/logo
if [ "$CARCH" = "x86_64" ]; then
cat ../config.x86_64 >./.config
else
cat ../config >./.config
fi
- cp ../logo_linux_clut224.ppm drivers/video/logo/
-# cp ../logo_linux_mono.pbm drivers/video/logo/
-# cp ../logo_linux_vga16.ppm drivers/video/logo
# get kernel version
make prepare
_kernver="$(make kernelrelease)"
@@ -85,6 +80,10 @@ build() {
cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
done
+ # copy arch includes for external modules
+ mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
+ cp -a arch/x86/include ${pkgdir}/usr/src/linux-${_kernver}/arch/x86/
+
# copy files necessary for later builds, like nvidia and vmware
cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}
cp -a scripts ${pkgdir}/usr/src/linux-${_kernver}