diff options
Diffstat (limited to 'linux-custom/PKGBUILD')
-rw-r--r-- | linux-custom/PKGBUILD | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/linux-custom/PKGBUILD b/linux-custom/PKGBUILD index 94b4146..0f50c58 100644 --- a/linux-custom/PKGBUILD +++ b/linux-custom/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 196514 2013-10-14 16:57:23Z tpowa $ +# $Id: PKGBUILD 199010 2013-11-06 08:27:18Z tpowa $ # 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 -_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/" @@ -13,29 +13,29 @@ 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' - 'aufs3-standalone::git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs3.11') + 'aufs3-standalone::git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs3.11' + 'aufs3-mmap.patch') _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 @@ -45,10 +45,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" @@ -56,11 +52,11 @@ prepare() { # aufs3 patch -p1 -i "${srcdir}/aufs3-standalone/aufs3-kbuild.patch" patch -p1 -i "${srcdir}/aufs3-standalone/aufs3-base.patch" - patch -p1 -i "${srcdir}/aufs3-standalone/aufs3-proc_map.patch" + patch -p1 -i "${srcdir}/aufs3-mmap.patch" cp -R "${srcdir}/aufs3-standalone/Documentation" . cp -R "${srcdir}/aufs3-standalone/fs" . cp -R "${srcdir}/aufs3-standalone/include/uapi/linux/aufs_type.h" \ - include/linux/ + include/uapi/linux/ if [ "${CARCH}" = "x86_64" ]; then cat "${srcdir}/config.x86_64" > ./.config @@ -354,12 +350,11 @@ for _p in ${pkgname[@]}; do }" done -md5sums=('fea363551ff45fbe4cb88497b863b261' - 'c44ebb225fe9956b636b79ab6b61aa42' - '77cf04eba30f625d46b5097b036ae138' - 'e1afb079d4153bc95761b65777843db2' +md5sums=('cc6ee608854e0da4b64f6c1ff8b6398c' + '798bca5d2f0a1505c9b86a5227a2b339' + 'a1e4ffedb8450272f54e68e3472c4537' 'eb14dcfd80c00852ef81ded6e826826a' '98beb36f9b8cf16e58de2483ea9985e3' 'd50c1ac47394e9aec637002ef3392bd1' - '1040ae6c10d4a68f89899f94a2318a17' - 'SKIP') + 'SKIP' + 'e4ccb83b7a4d75f4aaddba4c34aca4d9') |