diff options
author | Figue | 2015-09-05 12:48:33 +0200 |
---|---|---|
committer | Figue | 2015-09-05 12:48:33 +0200 |
commit | d176d2b886b4393f538105b10c8844e6c5431559 (patch) | |
tree | 4c0b3e123a8a2c105b65222cf99ab8c4ed148bd4 /PKGBUILD | |
parent | 0a58d3dda67226051f2eb61505524e1e12244767 (diff) | |
download | aur-d176d2b886b4393f538105b10c8844e6c5431559.tar.gz |
Update to Linux 4.2. BFQ patches disabled, v4.2 not available for the moment
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 53 |
1 files changed, 34 insertions, 19 deletions
@@ -4,10 +4,10 @@ #pkgbase=linux # Build stock -ARCH kernel pkgbase=linux-bld # Build kernel with a different name -_srcname=linux-4.1 +_srcname=linux-4.2 pkgname=(linux-bld linux-bld-headers) _kernelname=-bld -pkgver=4.1.6 +pkgver=4.2 pkgrel=1 arch=('i686' 'x86_64') url="https://github.com/rmullick/linux" @@ -16,7 +16,7 @@ makedepends=( 'kmod' 'inetutils' 'bc') options=('!strip') _gcc_patch="enable_additional_cpu_optimizations_for_gcc_v4.9+_kernel_v3.15+.patch" _bfqpath="http://algo.ing.unimo.it/people/paolo/disk_sched/patches/4.1.0-v7r8" -_BLDpatch="BLD-4.1.patch" +_BLDpatch="BLD-4.2.patch" source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz" "https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.sign" "http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz" @@ -27,25 +27,28 @@ source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz" # standard config files for mkinitcpio ramdisk 'linux-bld.preset' 'change-default-console-loglevel.patch' - "${_bfqpath}/0001-block-cgroups-kconfig-build-bits-for-BFQ-v7r8-4.1.patch" - "${_bfqpath}/0002-block-introduce-the-BFQ-v7r8-I-O-sched-for-4.1.patch" - "${_bfqpath}/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v7r8-for-4.1.0.patch" +# "${_bfqpath}/0001-block-cgroups-kconfig-build-bits-for-BFQ-v7r8-4.1.patch" +# "${_bfqpath}/0002-block-introduce-the-BFQ-v7r8-I-O-sched-for-4.1.patch" +# "${_bfqpath}/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v7r8-for-4.1.0.patch" "https://raw.githubusercontent.com/rmullick/bld-patches/master/${_BLDpatch}" + '0001-make_flush_workqueue_non_gpl.patch' + '0001-e1000e-Fix-tight-loop-implementation-of-systime-read.patch' + '0001-netfilter-conntrack-use-nf_ct_tmpl_free-in-CT-synpro.patch' ) -sha256sums=('caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f' +sha256sums=('cf20e044f17588d2a42c8f2a450b0fd84dfdbd579b489d93e9ab7d0e8b45dbeb' 'SKIP' - '64e4deb16a279e233b0c91463b131bd0f3de6aabdb49efded8314bcf5dbfe070' + '058cbb4f53d94fbf18153e77138e71b53d38de82697e74a049640e9d496c7d4e' 'SKIP' '819961379909c028e321f37e27a8b1b08f1f1e3dd58680e07b541921282da532' - 'f4c6a5c2fc0ee2b792e43f4c1846b995051901a502fb97885d2296af55fa193d' - '58d49d4a3f6152394d903fd09113116fa3a0939d7d7ee419b2edbbd0c30e1755' + 'e6f6f804f98ad321ce3e4395924993b51decb89699fde369391ccbb4bae928b2' + 'a071aaa327d2b3577fa4709b47ed5fe81c7914d168607f3db905fdbf226247e7' '8da1d80c0bd568781568da4f669f39fed94523312b9d37477836bfa6faa9527f' '1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99' - 'ec0ca3c8051ea6d9a27a450998af8162464c224299deefc29044172940e96975' - 'c5c2c48638c2a8180948bd118ffcc33c8b7ff5f9f1e4b04c8e2cafeca2bde87b' - '4f30f76adbdf49aec8d41ac27ad212734500c272f3cba594f134a7bc263820d9' - '6b068476a99fa7b5902f20e379f28b0f72e7d8edb6b751b6b28d3d51bcb0e08b') + '40c76861b95b8fc69daf48d69dbd5abb8c0be23c9c2ac1e208c4303e6f03f016' + '4e776734e2c2185910a6fbb6f333d967b04f4a72b3196310af286c6a779bd97d' + '0b1e41ba59ae45f5929963aa22fdc53bc8ffb4534e976cec046269d1a462197b' + '6ed9e31ae5614c289c4884620e45698e764c03670ebc45bab9319d741238cbd3') validpgpkeys=( 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds @@ -90,12 +93,24 @@ prepare() { msg2 "Patch source to enable more gcc CPU optimizatons via the make nconfig" patch -Np1 -i "${srcdir}/${_gcc_patch}" - msg "Patching source with BFQ patches" - for p in $(ls ${srcdir}/000{1,2,3}-block*BFQ*.patch); do - patch -Np1 -i "$p" - done +# msg "Patching source with BFQ patches" +# for p in $(ls ${srcdir}/000{1,2,3}-block*BFQ*.patch); do +# patch -Np1 -i "$p" +# done + + msg2 "Patches from Archlinux" + # fix work_queue symbol to non GPL for nvidia module building + # already applied to 4.3 series + patch -p1 -i "${srcdir}/0001-make_flush_workqueue_non_gpl.patch" + + # fix hard lockup in e1000e_cyclecounter_read() after 4 hours of uptime + # https://lkml.org/lkml/2015/8/18/292 + patch -p1 -i "${srcdir}/0001-e1000e-Fix-tight-loop-implementation-of-systime-read.patch" -# msg2 "Patches from Archlinux" + # add not-yet-mainlined patch to fix network unavailability when iptables + # rules are applied during startup - happened with Shorewall; journal had + # many instances of this error: nf_conntrack: table full, dropping packet + patch -p1 -i "${srcdir}/0001-netfilter-conntrack-use-nf_ct_tmpl_free-in-CT-synpro.patch" if [ "${CARCH}" = "x86_64" ]; then cat "${srcdir}/config.x86_64" > ./.config |