[arch-commits] CVS update of core/base/kernel26 (PKGBUILD)
Tobias Powalowski
tpowa at archlinux.org
Sun Nov 11 20:06:31 UTC 2007
Date: Sunday, November 11, 2007 @ 15:06:31
Author: tpowa
Path: /home/cvs-core/core/base/kernel26
Modified: PKGBUILD (1.272 -> 1.273)
'upgpkg: added references to all patches'
----------+
PKGBUILD | 95 ++++++++++++++++++++++++++++++++++++++++++++++---------------
1 file changed, 73 insertions(+), 22 deletions(-)
Index: core/base/kernel26/PKGBUILD
diff -u core/base/kernel26/PKGBUILD:1.272 core/base/kernel26/PKGBUILD:1.273
--- core/base/kernel26/PKGBUILD:1.272 Fri Nov 9 10:49:31 2007
+++ core/base/kernel26/PKGBUILD Sun Nov 11 15:06:31 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.272 2007/11/09 15:49:31 paul Exp $
+# $Id: PKGBUILD,v 1.273 2007/11/11 20:06:31 tpowa Exp $
# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
# Maintainer: Thomas Baechler <thomas at archlinux.org>
pkgname=kernel26
@@ -21,40 +21,54 @@
'zd1211' 'kvm-modules')
install=kernel26.install
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
+ ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2
+ ### next two lines only needed for rc kernel building
#http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.23-rc9.bz2
#http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.23-rc9-git2.bz2
- ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2
+ # the main kernel config files
config config.x86_64
+ # the archlinux boot logos
logo_linux_clut224.ppm
logo_linux_mono.pbm
logo_linux_vga16.ppm
+ # standard config files for mkinitcpio ramdisk
kernel26.preset
mkinitcpio-$pkgname.conf
+ # add possibility to load your own dsdt acpi table
acpi-dsdt-initrd-v0.8.4-2.6.21.patch
+ # fix bluetooth on some toshiba notebooks
toshiba-bluetooth.patch
+ # add additional unusual usb entry
usb-storage-unusual-devs.patch
+ # improve intel macintosh support
mactel-linux-2.6.23.patch
+ # update to alsa snapshot 20071109
http://www.archlinux.org/~tpowa/alsa-patches/alsa-20071109.patch.bz2
http://www.archlinux.org/~tpowa/alsa-patches/alsa-include-20071109.patch.bz2
+ # fix broken acpi c states on buggy bioses, which violate acpi specification
acpi-buggy-bios.patch
+ # add squashfs and unionfs
#http://heanet.dl.sourceforge.net/sourceforge/squashfs/squashfs3.2-r2.tar.gz broken!
squashfs3.2-patch.bz2
http://download.filesystems.org/unionfs/unionfs-2.1/unionfs-2.1.8_for_2.6.23.1.diff.gz
# two patches below for aufs compatibility
put_filp.patch
lhash-2.6.22.patch
- adjust_current_level_to_closest_available.patch
+ # fix hibernating support for saa7134 devices
hibernate-saa7134.diff
+ # fixes from upstream kernel git trees
+ adjust_current_level_to_closest_available.patch
sata_sis-2.6.23.patch
ipw2x00-2.6.23.patch
zd1211rw-oops-2.6.23.patch
ide-helper-2.6.23.patch
- # add undervolting patch
+ # add possibility to undervolt certain cpus
linux-phc-0.3.0-kernel-vanilla-2.6.23rc3.patch
- # genpatches from gentoo
+ # adding genpatches from gentoo
2405_hostap-netdev-type.patch
2525_usb-storage-nikon-d200-quirk.patch
2530_usb-storage-nikon-d40x-quirk.patch
+ # greg kroahs stable tree queue fixes
pre-2.6.23.2.patch)
md5sums=('2cc2fd4d521dc5d7cfce0d8a9d1b3472'
'896c5d4e7fd68d37b8c16e5d2842563b'
@@ -95,54 +109,90 @@
cd $startdir/src/linux-$_basekernel
# add upstream patch from 2.6.23 series
patch -Np1 -i ../patch-$pkgver || return 1
- # from http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
+
+ # greg kroahs stable patches, in reference to:
+ # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
patch -Np1 -i ../pre-2.6.23.2.patch || return 1
+
+ ### next 2 lines are only needed for rc kernels
#patch -Np1 -i ../patch-$pkgver-rc9 || return 1
#patch -Np1 -i ../patch-2.6.23-rc9-git2 || return 1
- # fix compiling due to include issue, inlcuded now in unionfs patch
- #patch -Np1 -i ../compile-2.6.23.patch || return 1
- # add acpi custom dsdt patch
+
+ # add custom acpi dsdt patch, in reference to:
+ # http://gaugusch.at/kernel.shtml
+ # http://acpi.sourceforge.net
patch -Np1 -i ../acpi-dsdt-initrd-v0.8.4-2.6.21.patch || return 1
- # fix enabling of bluetooth on some toshiba notebooks
+
+ # fix enabling of bluetooth on some toshiba notebooks in reference to:
+ # http://bugs.archlinux.org/task/5608
+ # http://www.cwrose.de/toshiba/s5200.html#bluetooth
patch -Np1 -i ../toshiba-bluetooth.patch || return 1
+
# fix I/O errors with Teac HD-35PU devices
patch -Np1 -i ../usb-storage-unusual-devs.patch || return 1
- # get latest alsa fixes ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/
+
+ # get latest alsa status, in reference to:
+ # ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/
+ # patches are created by diffing the kernel source,
+ # against the alsa-kernel/ directory from tarball.
# status is 20071109
patch -Np0 -i ../alsa-20071109.patch || return 1
patch -Np0 -i ../alsa-include-20071109.patch || return 1
- # add mactel patch http://mactel-linux.svn.sourceforge.net/viewvc/mactel-linux/trunk/kernel/
+
+ # improve intel macintosh support, in reference to:
+ # http://www.mactel-linux.org/wiki/Main_Page
+ # http://mactel-linux.svn.sourceforge.net/viewvc/mactel-linux/trunk/kernel/
patch -Np1 -i ../mactel-linux-2.6.23.patch || return 1
- # add undervolting patch from https://www.dedigentoo.org/trac/linux-phc/
+
+ # add possibility to undervolt certain cpus, in reference to:
+ # https://www.dedigentoo.org/trac/linux-phc/
patch -Np1 -i ../linux-phc-0.3.0-kernel-vanilla-2.6.23rc3.patch || return 1
- # fix buggy bios acpi to get c states
+
+ # fix buggy bios acpi to get c states, which violate acpi specification, in reference to:
+ # http://bugzilla.kernel.org/show_bug.cgi?id=7578
+ # http://bugs.archlinux.org/task/6875
patch -Np1 -i ../acpi-buggy-bios.patch || return 1
- # fix brightness buttons on some laptops
- patch -Np1 -i ../adjust_current_level_to_closest_available.patch || return 1
- # fix hibernate on saa7134
+
+ # fix hibernate support on saa7134
+ # made by the vl4 team in the kernel plus a lot of
+ # help from one of the Alsa devs. The problem is that when you suspend to
+ # ram or to disk, saa7134 devices don't come out of suspend.
+ # sent in by: Hussam Al-Tayeb <ht990332 at gmail.com>
patch -Np0 -i ../hibernate-saa7134.diff || return 1
- # fix sata_sis issues #8435
+
+ # fix sata_sis issues, in reference to:
+ # http://bugs.archlinux.org/8435
patch -Np1 -i ../sata_sis-2.6.23.patch || return 1
+
+ # upstream fixes from upstream kernel git trees, in reference to:
+ # http://git.kernel.org/
+ # fix brightness buttons on some laptops
+ patch -Np1 -i ../adjust_current_level_to_closest_available.patch || return 1
# fix zd1211rw oops
patch -Np1 -i ../zd1211rw-oops-2.6.23.patch || return 1
# add ipw 2x00 fixes
patch -Np1 -i ../ipw2x00-2.6.23.patch || return 1
# add ide helper which will appear in 2.6.23.2
patch -Np1 -i ../ide-helper-2.6.23.patch || return 1
- #adding some genpatches from
- #http://sources.gentoo.org/viewcvs.py/linux-patches/genpatches-2.6/trunk/2.6.23/
+
+ # adding some genpatches from gentoo, for refernce:
+ # http://sources.gentoo.org/viewcvs.py/linux-patches/genpatches-2.6/trunk/2.6.23/
patch -Np1 -i ../2405_hostap-netdev-type.patch || return 1
patch -Np1 -i ../2525_usb-storage-nikon-d200-quirk.patch || return 1
patch -Np1 -i ../2530_usb-storage-nikon-d40x-quirk.patch || return 1
- # add sqashfs
+
+ # add sqashfs support
patch -Np1 -i ../squashfs3.2-patch || return 1
- # add unionfs
+
+ # add unionfs support
patch -Np1 -i ../unionfs-2.1.8_for_2.6.23.1.diff || return 1
+
# add put_filp and lhash patches for aufs
patch -Np0 -i ../put_filp.patch || return 1
patch -Np1 -i ../lhash-2.6.22.patch || return 1
# remove the extraversion from Makefile
+ ### next line is only needed for rc kernels
#sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION =-rc9|g' Makefile
sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION =|g' Makefile
# Arch logo!
@@ -156,6 +206,7 @@
fi
# build the full kernel version to use in pathnames
. ./.config
+ ### next line is only needed for rc kernels
#_kernver="2.6.23-rc9${CONFIG_LOCALVERSION}"
_kernver="${_basekernel}${CONFIG_LOCALVERSION}"
# load configuration
More information about the arch-commits
mailing list