core/linux-2.6-CHAKRA/PATCHCFG

62 lines
2.4 KiB
Plaintext
Raw Normal View History

2011-04-22 17:29:27 +08:00
# Source env-settings
source ../_buildscripts/core-testing-${_arch}-makepkg.conf
# Pre-Patch settings
2011-05-11 04:01:05 +08:00
_patch="2.6.38.7-pre"
2011-04-22 17:29:27 +08:00
_queue="2.6.38"
2010-05-16 23:08:55 +08:00
# Kernel source file
2011-03-16 05:03:23 +08:00
SRC="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.tar.bz2"
2010-05-16 23:08:55 +08:00
# Original source directory
2011-03-16 05:03:23 +08:00
SRCORIG="linux-2.6.38"
2010-05-16 23:08:55 +08:00
# Our source directory
2011-03-16 05:03:23 +08:00
SRCNAME="linux-2.6.38-CHAKRA"
2010-05-16 23:08:55 +08:00
# Patches:
# URL%patchlevel
# or
# filename%patchlevel (file must be in patches subdirectory)
2010-05-16 23:08:55 +08:00
PATCHES=(
2011-03-16 05:03:23 +08:00
# add upstream patch from 2.6.38 series
2011-05-11 04:01:05 +08:00
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-2.6.38.6.bz2%1
2011-04-10 20:23:47 +08:00
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
2011-05-11 04:01:05 +08:00
http://chakra-project.org/sources/kernel26/patches/38/bugfix/2.6.38.7-pre.patch%1
2011-04-18 16:57:16 +08:00
# fix hibernate resume
# http://www.chakra-project.org/bbs/viewtopic.php?id=4419
http://chakra-project.org/sources/kernel26/patches/38/bugfix/fix-hibernate-resume-2.6.38.patch%1
2010-05-16 23:08:55 +08:00
# fix #19234 i1915 display size
http://chakra-project.org/sources/kernel26/patches/38/bugfix/fix-i915.patch%1
2011-04-18 16:57:16 +08:00
# fix i915 pipelining glitches
# https://bugs.freedesktop.org/show_bug.cgi?id=34584
http://chakra-project.org/sources/kernel26/patches/38/bugfix/i915-pipeline.patch%1
# fix ips module
http://chakra-project.org/sources/kernel26/patches/38/bugfix/intel_ips-produces-constant-load-of-1.patch%1
# add aufs2 support, in reference to:
# http://aufs.sourceforge.net
2011-03-16 05:03:23 +08:00
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2-kbuild-38.patch%1
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2-base-38.patch%1
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2-standalone-38.patch%1
2011-03-29 04:00:40 +08:00
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2.1-standalone.tree-38-20110328.patch.bz2%1
2010-05-16 23:08:55 +08:00
)
# Name of the resulting patch (will be bzipped afterwards)
2011-05-11 04:01:05 +08:00
PATCHNAME="patch-2.6.38.6-1-CHAKRA"
2010-05-16 23:08:55 +08:00
# 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-CHAKRA
2010-05-16 23:08:55 +08:00
# this way, minor kernel updates will not break external modules
sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION = |g' Makefile
# Kill some files
find . -name '*~' -exec rm -f {} \; 2>/dev/null
}