generated from archlinux/template
add haswell pstate support
This commit is contained in:
14
PKGBUILD
14
PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=linux # Build stock -ARCH kernel
|
||||
#pkgbase=linux-custom # Build kernel with a different name
|
||||
_srcname=linux-3.11
|
||||
pkgver=3.11.1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.kernel.org/"
|
||||
license=('GPL2')
|
||||
@@ -19,7 +19,8 @@ source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
|
||||
'linux.preset'
|
||||
'change-default-console-loglevel.patch'
|
||||
'criu-no-expert.patch'
|
||||
'3.11.1-fix-skge.patch')
|
||||
'3.11.1-fix-skge.patch'
|
||||
'3.11-haswell-intel_pstate.patch')
|
||||
md5sums=('fea363551ff45fbe4cb88497b863b261'
|
||||
'43331cad943b9540afea49ad8ce5cf46'
|
||||
'247d9bafa184e2d9a27c1a0485419fff'
|
||||
@@ -27,7 +28,9 @@ md5sums=('fea363551ff45fbe4cb88497b863b261'
|
||||
'eb14dcfd80c00852ef81ded6e826826a'
|
||||
'98beb36f9b8cf16e58de2483ea9985e3'
|
||||
'd50c1ac47394e9aec637002ef3392bd1'
|
||||
'4fcee2b4485492dcfdead632275198eb')
|
||||
'4fcee2b4485492dcfdead632275198eb'
|
||||
'1040ae6c10d4a68f89899f94a2318a17')
|
||||
|
||||
|
||||
_kernelname=${pkgbase#linux}
|
||||
|
||||
@@ -54,6 +57,11 @@ prepare() {
|
||||
# #36865 fix broken skge network module
|
||||
patch -Np1 -i "${srcdir}/3.11.1-fix-skge.patch"
|
||||
|
||||
# add intel haswell support to intel_pstate
|
||||
# https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=6cdcdb793791f776ea9408581b1242b636d43b37
|
||||
# will be in 3.12
|
||||
patch -Np1 -i "${srcdir}/3.11-haswell-intel_pstate.patch"
|
||||
|
||||
# allow criu without expert option set
|
||||
# patch from fedora
|
||||
patch -Np1 -i "${srcdir}/criu-no-expert.patch"
|
||||
|
||||
Reference in New Issue
Block a user