Commit 2aae6d07 authored by Philip Müller's avatar Philip Müller

[pkg-upd] 4.9.189-1

parent f50f0e04
......@@ -12,8 +12,7 @@ _kernelname=-MANJARO
_basekernel=4.9
_aufs=20180730 #last release
_bfq=v8r12
_sub=188
pkgver=4.9.188
pkgver=4.9.189
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
......@@ -21,13 +20,7 @@ license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'elfutils')
options=('!strip')
source=("https://www.kernel.org/pub/linux/kernel/v4.x/linux-${_basekernel}.tar.xz"
#"https://www.kernel.org/pub/linux/kernel/v4.x/testing/linux-${_basekernel}-{_rc}.tar.xz"
#https://github.com/torvalds/linux/archive/v${_basekernel}.tar.gz
#linux-${_basekernel}-${pkgrel}.tar.gz::https://github.com/torvalds/linux/archive/${_git}.tar.gz
"http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
#"http://www.kernel.org/pub/linux/kernel/v4.x/patch-${_basekernel}.${_sub}.xz"
#"http://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-${_basekernel}.${_rc}.xz"
#https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/snapshot/linux-${pkgver}.tar.gz
# the main kernel config files
'config' 'config.x86_64' 'config.aufs'
# standard config files for mkinitcpio ramdisk
......@@ -58,7 +51,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v4.x/linux-${_basekernel}.tar.x
'0004-zen-temp.patch'
)
sha256sums=('029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a'
'68bb07dc77df184556b2895295bcbdbac35323853a50fcb2c0968e8728df9871'
'cdf06cb0ac687a3e7b9a23053e069b4c95f02f87f254a44c691a5d943c10c59d'
'60a2f9ac47d978c854498abc375778d3a8db08a75cc3a34462a41fcce7787b24'
'93ed159837aa2f08299efd9578da0359c483cc9974164f2f1dc18467be7b8f27'
'b44d81446d8b53d5637287c30ae3eb64cae0078c3fbc45fcf1081dd6699818b5'
......@@ -85,14 +78,10 @@ sha256sums=('029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a'
'70cee696fb4204ac7f787cef0742c50637e8bb7f68e2c7bca01aeefff32affc8')
prepare() {
# mv "${srcdir}/linux-${_git}" "${srcdir}/linux-${_basekernel}"
# mv "${srcdir}/linux-${pkgver}" "${srcdir}/linux-${_basekernel}"
cd "${srcdir}/linux-${_basekernel}"
# add upstream patch
patch -p1 -i "${srcdir}/patch-${pkgver}"
#patch -p1 -i "${srcdir}/patch-${_basekernel}.${_sub}"
#patch -p1 -i "${srcdir}/patch-${_basekernel}.${_rc}"
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
......@@ -134,13 +123,7 @@ prepare() {
#patch -Np1 -i ../0003-tcp-refine-memory-limit-test-in-tcp_fragment.patch
# add BFQ scheduler
#patch -Np1 -i "${srcdir}/0001-block-cgroups-kconfig-build-bits-for-BFQ-${_bfq}.patch"
#patch -Np1 -i "${srcdir}/0002-block-introduce-the-BFQ-${_bfq}-I-O-sched.patch"
#patch -Np1 -i "${srcdir}/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-${_bfq}.patch"
#patch -Np1 -i "${srcdir}/0004-Turn-into-BFQ-${_bfq}-for-${_basekernel}.0.patch"
sed -i -e "s|SUBLEVEL = 0|SUBLEVEL = ${_sub}|g" "${srcdir}/0001-BFQ-${_bfq}.patch"
#sed -i -e "s|SUBLEVEL = 0|SUBLEVEL = $(echo ${_rc} | cut -d "-" -f1)|g" "${srcdir}/0001-BFQ-${_bfq}.patch"
#sed -i -e "s|EXTRAVERSION =|EXTRAVERSION = -$(echo ${_rc} | cut -d "-" -f2)|1" "${srcdir}/0001-BFQ-${_bfq}.patch"
sed -i -e "s/SUBLEVEL = 0/SUBLEVEL = $(echo ${pkgver} | cut -d. -f3)/g" "${srcdir}/0001-BFQ-${_bfq}.patch"
patch -Np1 -i "${srcdir}/0001-BFQ-${_bfq}.patch"
if [ "${CARCH}" = "x86_64" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment