summaryrefslogtreecommitdiff
path: root/PATCHCFG
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2008-04-05 12:04:21 +0200
committerThomas Bächler <thomas@archlinux.org>2008-04-05 12:04:21 +0200
commit32c8c733f296ea76d599c0c90aff7307d85a4eb3 (patch)
tree7acd0f0d313f088d4e24179e5b04254f9b6868e3 /PATCHCFG
Initial commit of the patch generation script and the patches used in 2.6.24.4-ARCH
Diffstat (limited to 'PATCHCFG')
-rw-r--r--PATCHCFG122
1 files changed, 122 insertions, 0 deletions
diff --git a/PATCHCFG b/PATCHCFG
new file mode 100644
index 0000000..1e3e97c
--- /dev/null
+++ b/PATCHCFG
@@ -0,0 +1,122 @@
+# Kernel source file
+SRC="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2"
+# Original source directory
+SRCORIG="linux-2.6.24"
+# Our source directory
+SRCNAME="linux-2.6.24-ARCH"
+# Patches:
+# URL%patchlevel
+# or
+# filename%patchlevel (file must be in patches/ subdirectory)
+PATCHES=(
+ # add upstream patch from 2.6.24 series
+ ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-2.6.24.4.bz2%1
+
+ # add custom acpi dsdt patch, in reference to:
+ # http://gaugusch.at/kernel.shtml
+ # http://acpi.sourceforge.net
+ acpi-dsdt-initrd-v0.8.4-2.6.21.patch%1
+
+ # 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
+ toshiba-bluetooth.patch%1
+
+ # fix I/O errors with Teac HD-35PU devices
+ usb-storage-unusual-devs.patch%1
+
+ # 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/
+ mactel-linux-2.6.24.patch%1
+
+ # add possibility to undervolt certain cpus, in reference to:
+ # https://www.dedigentoo.org/trac/linux-phc/
+ linux-phc-0.3.0-kernel-vanilla-2.6.23rc3.patch%1
+
+ # 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
+ acpi-buggy-bios.patch%1
+
+ # fix Leadtek_WinFast_2000
+ # in reference to:
+ # http://www.linuxtv.org/v4lwiki/index.php/Leadtek_WinFast_2000
+ winfast-2000.patch%0
+
+ # fix sis ids
+ # in reference to:
+ # http://www.linuxconsulting.ro/xorg-drivers/
+ # http://bugs.archlinux.org/task/9655
+ sis671-intelgly-2.6.24.patch%1
+
+ # fix some ata limits
+ # http://bugs.archlinux.org/task/9386
+ # in reference to:
+ # http://www.mail-archive.com/linux-ide%40vger.kernel.org/msg14722.html
+ ata-2.6.24.patch%2
+
+ # fix drm spinlocks
+ # in reference to:
+ # http://bugs.archlinux.org/task/9386
+ drm-spinlock-fix.patch%1
+
+ # fix capabilities which broke at daemon
+ # in reference to:
+ # http://bugs.archlinux.org/task/9800
+ fix-capabilities.patch%1
+
+ # fix gcc43 compilation
+ fix-gcc43.patch%1
+
+ # prevent umt-010 from oopsing.
+ # in reference to:
+ # http://bugzilla.kernel.org/show_bug.cgi?id=9720
+ hanftek.patch%1
+
+ # adding some genpatches from gentoo, in reference to:
+ # http://sources.gentoo.org/viewcvs.py/linux-patches/genpatches-2.6/trunk/2.6.24/
+ 2100_sd-sr-medium-detection.patch%1
+ 2101_sr-follow-tray-status.patch%1
+ 2102_sr-test-unit-ready.patch%1
+ 2405_sis190-eeprom-mac.patch%1
+ 2700_alsa-hda-lifebook-e8410.patch%1
+
+ # add sqashfs support, in reference to:
+ # http://squashfs.sourceforge.net/
+ # diff extracted from: http://heanet.dl.sourceforge.net/sourceforge/squashfs/squashfs3.3.tar.gz
+ squashfs3.3-patch%1
+
+ # add unionfs support. in reference to:
+ # http://www.fsl.cs.sunysb.edu/project-unionfs.html
+ http://download.filesystems.org/unionfs/stable/unionfs-2.3.1_for_2.6.24.4.diff.gz%1
+
+ # add sec_perm-2.6.24.patch for aufs, in reference to:
+ # http://aufs.sourceforge.net/
+ sec_perm-2.6.24.patch%1
+ put_filp-2.6.24.patch%0
+ lhash-2.6.24.patch%1
+ )
+# Name of the resulting patch (will be bzipped afterwards)
+PATCHNAME="patch-2.6.24.4-1-ARCH"
+
+# Run this before applying patches
+pre_apply() {
+ :
+}
+
+# Run this after applying patches
+post_apply() {
+ # remove the extraversion from Makefile
+ # this ensures our kernel version is always 2.6.XX-ARCH
+ # this way, minor kernel updates will not break external modules
+ sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION =|g' Makefile
+
+ # Add Arch logo!
+ cp ${startdir}/patches/logo_linux_clut224.ppm drivers/video/logo/
+ cp ${startdir}/patches/logo_linux_mono.pbm drivers/video/logo/
+ cp ${startdir}/patches/logo_linux_vga16.ppm drivers/video/logo/
+
+ # Kill some files
+ find . -name '*~' -exec rm -f {} \; 2>/dev/null
+}