generated from archlinux/template
bump to 3.12 series
This commit is contained in:
30
PKGBUILD
30
PKGBUILD
@@ -3,8 +3,8 @@
|
||||
|
||||
pkgbase=linux # Build stock -ARCH kernel
|
||||
#pkgbase=linux-custom # Build kernel with a different name
|
||||
_srcname=linux-3.11
|
||||
pkgver=3.11.6
|
||||
_srcname=linux-3.12
|
||||
pkgver=3.12
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.kernel.org/"
|
||||
@@ -12,36 +12,33 @@ license=('GPL2')
|
||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
|
||||
options=('!strip')
|
||||
source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
|
||||
"http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
|
||||
#"http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
|
||||
# the main kernel config files
|
||||
'config' 'config.x86_64'
|
||||
# standard config files for mkinitcpio ramdisk
|
||||
'linux.preset'
|
||||
'change-default-console-loglevel.patch'
|
||||
'criu-no-expert.patch'
|
||||
'3.11-haswell-intel_pstate.patch')
|
||||
md5sums=('fea363551ff45fbe4cb88497b863b261'
|
||||
'c44ebb225fe9956b636b79ab6b61aa42'
|
||||
'77cf04eba30f625d46b5097b036ae138'
|
||||
'98d1e9862f555e5c56e95aae1f149789'
|
||||
'criu-no-expert.patch')
|
||||
md5sums=('cc6ee608854e0da4b64f6c1ff8b6398c'
|
||||
'dc43ea54ac044242539e4995df4b45fa'
|
||||
'e10cb607bb55ef75c74b254649597c35'
|
||||
'eb14dcfd80c00852ef81ded6e826826a'
|
||||
'98beb36f9b8cf16e58de2483ea9985e3'
|
||||
'd50c1ac47394e9aec637002ef3392bd1'
|
||||
'1040ae6c10d4a68f89899f94a2318a17')
|
||||
'd50c1ac47394e9aec637002ef3392bd1')
|
||||
|
||||
_kernelname=${pkgbase#linux}
|
||||
|
||||
# module.symbols md5sums
|
||||
# x86_64
|
||||
# ec2540e9486c8a2c9026a40b8fe551c5 /lib/modules/3.11.5-1-ARCH/modules.symbols
|
||||
# 2fd43e3edc671c61e043a5c0b3b2a1f0 /lib/modules/3.12.0-1-ARCH/modules.symbols
|
||||
# i686
|
||||
# e9c1ae7203f65cdd073257640f61505e /lib/modules/3.11.5-1-ARCH/modules.symbols
|
||||
# e98940249665dbfa380cfdbbacf6c6b8 /lib/modules/3.12.0-1-ARCH/modules.symbols
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_srcname}"
|
||||
|
||||
# add upstream patch
|
||||
patch -p1 -i "${srcdir}/patch-${pkgver}"
|
||||
# patch -p1 -i "${srcdir}/patch-${pkgver}"
|
||||
|
||||
# add latest fixes from stable queue, if needed
|
||||
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
|
||||
@@ -51,11 +48,6 @@ prepare() {
|
||||
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
|
||||
patch -Np1 -i "${srcdir}/change-default-console-loglevel.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