kernel26: update to 2.6.38.3

This commit is contained in:
philm 2011-04-18 10:57:16 +02:00
parent 5c5b61d522
commit 13996d9f69
3 changed files with 28 additions and 30 deletions

View File

@ -13,8 +13,8 @@ pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -CHAKRA ke
#_kernelname=${pkgname#kernel26}
_kernelname=""
_basekernel=2.6.38
pkgver=${_basekernel}.2
pkgrel=2
pkgver=${_basekernel}.3
pkgrel=1
makedepends=('xmlto' 'docbook-xsl')
_patchname="patch-${pkgver}-${pkgrel}-CHAKRA"
arch=(i686 x86_64)
@ -28,7 +28,7 @@ source=(http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-$_basekernel.t
# standard config files for mkinitcpio ramdisk
kernel26.preset)
md5sums=('7d471477bfa67546f902da62227fa976'
'8393239803924200548a2fd994fde40f'
'2a04f6e0334fbb023b336763759601a9'
'1a62b8c0831761170402e43089758bb3'
'b6c68233947b3742f339c8804940d4e3'
'25584700a0a679542929c4bed31433b6')

View File

@ -10,38 +10,19 @@ SRCNAME="linux-2.6.38-CHAKRA"
# filename%patchlevel (file must be in patches subdirectory)
PATCHES=(
# add upstream patch from 2.6.38 series
http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.38.2.bz2%1
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-2.6.38.3.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/38/bugfix/38.3-pre/alsa-hda-new-ad1984a-model-for-dell-precision-r5500.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/alsa-hda-fix-spdif-out-regression-on-alc889.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/alsa-fix-yet-another-race-in-disconnection.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/alsa-vmalloc-buffers-should-use-normal-mmap.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/perf-better-fit-max-unprivileged-mlock-pages-for-tools-needs.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/myri10ge-fix-rmmod-crash.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/cciss-fix-lost-command-issue.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/ath9k-fix-kernel-panic-in-ar2427.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/sound-oss-opl3-validate-voice-and-channel-indexes.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/mac80211-initialize-sta-last_rx-in-sta_info_alloc.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/ses-show-devices-for-enclosures-with-no-page-7.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/ses-avoid-kernel-panic-when-lun-0-is-not-mapped.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/pci-acpi-report-aspm-support-to-bios-if-not-disabled-from-command-line.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/x86-64-mm-put-early-page-table-high.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/ecryptfs-unlock-page-in-write_begin-error-path.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/ecryptfs-ecryptfs_keyring_auth_tok_for_sig-bug-fix.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/crypto-aesni-intel-fixed-problem-with-packets-that-are-not-multiple-of-64bytes.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/staging-usbip-bugfixes-related-to-kthread-conversion.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/staging-usbip-bugfix-add-number-of-packets-for-isochronous-frames.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/staging-usbip-bugfix-for-isochronous-packets-and-optimization.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/staging-hv-use-sync_bitops-when-interacting-with-the-hypervisor.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/38.3-pre/staging-hv-fix-garp-not-sent-after-quick-migration.patch%1
http://chakra-project.org/sources/kernel26/patches/38/bugfix/2.6.38.4-pre.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
# add bugfixes
# fix #19234 i1915 display size
http://chakra-project.org/sources/kernel26/patches/38/bugfix/fix-i915.patch%1
# fix #23390 radeon kms
http://chakra-project.org/sources/kernel26/patches/38/bugfix/radeon-kms-sanity-checks.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
@ -56,7 +37,7 @@ PATCHES=(
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2.1-standalone.tree-38-20110328.patch.bz2%1
)
# Name of the resulting patch (will be bzipped afterwards)
PATCHNAME="patch-2.6.38.2-2-CHAKRA"
PATCHNAME="patch-2.6.38.3-1-CHAKRA"
# Run this before applying patches
pre_apply() {

View File

@ -0,0 +1,17 @@
#!/bin/bash
_patch="2.6.38.4-pre"
_queue="2.6.38"
if [ -d stable-queue ] ;
then
cd stable-queue
git pull
cd ..
else
git clone http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
fi
cd stable-queue/queue-$_queue
for i in $(cat ./series);
do
cat $i >> ../../$_patch.patch;
done