backport to 2.6.38.8

This commit is contained in:
philm 2011-06-04 21:51:03 +00:00
parent 4e332d6b9e
commit e08507475a
5 changed files with 223 additions and 514 deletions

View File

@ -12,9 +12,9 @@ pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -CHAKRA ke
#pkgname=kernel26-mainline # Build kernel with a different name
#_kernelname=${pkgname#kernel26}
_kernelname=""
_basekernel=2.6.39
pkgver=${_basekernel}
pkgrel=2
_basekernel=2.6.38
pkgver=${_basekernel}.8
pkgrel=1
makedepends=('xmlto' 'docbook-xsl')
_patchname="patch-${pkgver}-${pkgrel}-CHAKRA"
arch=(i686 x86_64)
@ -27,10 +27,10 @@ source=(http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-$_basekernel.t
config config.x86_64
# standard config files for mkinitcpio ramdisk
kernel26.preset)
md5sums=('1aab7a741abe08d42e8eccf20de61e05' # linux-$_basekernel.tar.bz2
'54d91441ed45821ab7e4df70135ae3aa' # ${_patchname}.bz2
'eea6d51cf5d576b5f231b8c8675d8c82' # config
'b12f02a42cfb37a79263ad42df07e9dd' # config.x86_64
md5sums=('7d471477bfa67546f902da62227fa976' # linux-$_basekernel.tar.bz2
'5c26dd2deff4b310a23514b8a272fc0a' # ${_patchname}.bz2
'37216396c5d8844e675d1720fa38f01f' # config
'ff1778c577a2a47cb41c22e9bb04050b' # config.x86_64
'25584700a0a679542929c4bed31433b6' # kernel26.preset
)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
# arg 2: the old package version
KERNEL_NAME=
KERNEL_VERSION=2.6.39-CHAKRA
KERNEL_VERSION=2.6.38-CHAKRA
post_install () {
# updating module dependencies

View File

@ -1,40 +1,48 @@
# Source env-settings
source ../_buildscripts/core-testing-${_arch}-makepkg.conf
# Pre-Patch settings
_patch="2.6.39.1-pre"
_queue="2.6.39"
_patch="2.6.38.9-pre"
_queue="2.6.38"
# Aufs
_aufs="39-rcN-20110418"
_aufs="38-20110328"
# Kernel source file
SRC="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.39.tar.bz2"
SRC="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.tar.bz2"
# Original source directory
SRCORIG="linux-2.6.39"
SRCORIG="linux-2.6.38"
# Our source directory
SRCNAME="linux-2.6.39-CHAKRA"
SRCNAME="linux-2.6.38-CHAKRA"
# Patches:
# URL%patchlevel
# or
# filename%patchlevel (file must be in patches subdirectory)
PATCHES=(
# add upstream patch from 2.6.39 series
#ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-2.6.39.1.bz2%1
# add upstream patch from 2.6.38 series
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-2.6.38.8.bz2%1
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
http://chakra-project.org/sources/kernel26/patches/39/bugfix/$_patch.patch%1
#http://chakra-project.org/sources/kernel26/patches/38/bugfix/$_patch.patch%1
# 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
# fix #19234 i1915 display size
http://chakra-project.org/sources/kernel26/patches/39/bugfix/fix-i915.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/fix-i915.patch%1
# 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
# add aufs2 support, in reference to:
# http://aufs.sourceforge.net
http://chakra-project.org/sources/kernel26/patches/39/aufs2.1/aufs2-kbuild-$_aufs.patch%1
http://chakra-project.org/sources/kernel26/patches/39/aufs2.1/aufs2-base-$_aufs.patch%1
http://chakra-project.org/sources/kernel26/patches/39/aufs2.1/aufs2-standalone-$_aufs.patch%1
http://chakra-project.org/sources/kernel26/patches/39/aufs2.1/aufs2.1-standalone.tree-$_aufs.patch.bz2%1
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2-kbuild-$_aufs.patch%1
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2-base-$_aufs.patch%1
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2-standalone-$_aufs.patch%1
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2.1-standalone.tree-$_aufs.patch.bz2%1
)
# Name of the resulting patch (will be bzipped afterwards)
PATCHNAME="patch-2.6.39-2-CHAKRA"
PATCHNAME="patch-2.6.38.8-1-CHAKRA"
# Run this before applying patches
pre_apply() {