add correct patch for asm issues

This commit is contained in:
Tobias Powalowski
2014-02-13 19:58:32 +00:00
parent 7a651720d3
commit d36cd9e0dd
3 changed files with 57 additions and 424 deletions

View File

@@ -5,7 +5,7 @@ pkgbase=linux # Build stock -ARCH kernel
#pkgbase=linux-custom # Build kernel with a different name
_srcname=linux-3.13
pkgver=3.13.2
pkgrel=2
pkgrel=3
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
@@ -26,7 +26,7 @@ source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
'0005-sunrpc-add-an-info-file-for-the-dummy-gssd-pipe.patch'
'0006-rpc_pipe-fix-cleanup-of-dummy-gssd-directory-when-no.patch'
'0001-syscalls.h-use-gcc-alias-instead-of-assembler-aliase.patch'
'0001-revert-avmfritz-breaker.patch'
'0001-quirk-asm_volatile_goto.patch'
'i8042-fix-aliases.patch'
)
md5sums=('0ecbaf65c00374eb4a826c2f9f37606f'
@@ -43,7 +43,7 @@ md5sums=('0ecbaf65c00374eb4a826c2f9f37606f'
'd5907a721b97299f0685c583499f7820'
'a724515b350b29c53f20e631c6cf9a14'
'e6fa278c092ad83780e2dd0568e24ca6'
'bc1917dd2a0f9e4f511f120c85fa0c49'
'6baa312bc166681f48e972824f3f6649'
'93dbf73af819b77f03453a9c6de2bb47')
_kernelname=${pkgbase#linux}
@@ -86,10 +86,9 @@ prepare() {
# Fix i8042 aliases
patch -p1 -i "${srcdir}/i8042-fix-aliases.patch"
# Revert avmfritz breaker
# https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=e0f6dec35f9286e78879fe1ac92803fd69fc4fdc
# https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=0c44c2d0f459cd7e275242b72f500137c4fa834d
patch -Rp1 -i "${srcdir}/0001-revert-avmfritz-breaker.patch"
# Fix compile issues
# http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/patch/?id=a9f180345f5378ac87d80ed0bea55ba421d83859
patch -Np1 -i "${srcdir}/0001-quirk-asm_volatile_goto.patch"
if [ "${CARCH}" = "x86_64" ]; then
cat "${srcdir}/config.x86_64" > ./.config