Skip to content

Instantly share code, notes, and snippets.

@etcet
Created March 29, 2014 23:47
Show Gist options
  • Save etcet/9864922 to your computer and use it in GitHub Desktop.
Save etcet/9864922 to your computer and use it in GitHub Desktop.
i915-pkgbuild.patch
--- clean/core/linux/PKGBUILD 2014-03-29 18:06:28.105677993 -0500
+++ i915/core/linux/PKGBUILD 2014-03-29 13:43:02.955710675 -0500
@@ -2,8 +2,8 @@
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Thomas Baechler <thomas@archlinux.org>
-pkgbase=linux # Build stock -ARCH kernel
-#pkgbase=linux-custom # Build kernel with a different name
+#pkgbase=linux # Build stock -ARCH kernel
+pkgbase=linux-i915 # Build kernel with a different name
_srcname=linux-3.13
pkgver=3.13.7
pkgrel=1
@@ -29,6 +29,7 @@
'0001-syscalls.h-use-gcc-alias-instead-of-assembler-aliase.patch'
'0001-Bluetooth-allocate-static-minor-for-vhci.patch'
'i8042-fix-aliases.patch'
+ 'i915_313rc4.patch'
)
md5sums=('0ecbaf65c00374eb4a826c2f9f37606f'
'cb33b329d3417846d310c7f58a2614b6'
@@ -46,6 +47,7 @@
'e6fa278c092ad83780e2dd0568e24ca6'
'06f1751777e0772c18c3fa4fbae91aa5'
'93dbf73af819b77f03453a9c6de2bb47'
+ 'b8c117baba5a559d999ee7042dad2e8c'
)
_kernelname=${pkgbase#linux}
@@ -109,6 +111,9 @@
# don't run depmod on 'make install'. We'll do this ourselves in packaging
sed -i '2iexit 0' scripts/depmod.sh
+ # patches for vga arbiter fix in intel systems
+ patch -Np1 -i "${srcdir}/i915_313rc4.patch"
+
# get kernel version
make prepare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment