Commit a9a0ded5 authored by Philip Müller's avatar Philip Müller

[pkg-upd] 4.9.182-1

parent 1ce7e9bc
......@@ -12,10 +12,10 @@ _kernelname=-MANJARO
_basekernel=4.9
_aufs=20180730 #last release
_bfq=v8r12
_sub=180
_rc=181-rc1
#pkgver=${_basekernel}.${_sub}
pkgver=${_basekernel}.181
_sub=182
_rc=
pkgver=${_basekernel}.${_sub}
#pkgver=${_basekernel}.181
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
......@@ -26,9 +26,9 @@ source=("https://www.kernel.org/pub/linux/kernel/v4.x/linux-${_basekernel}.tar.x
#"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"
"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'
......@@ -59,8 +59,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v4.x/linux-${_basekernel}.tar.x
'0004-zen-temp.patch'
)
sha256sums=('029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a'
'f4fa3b1622cba246d2ca7dd73fbb6286d82a7253ca192a0b41ae60f749e5f665'
'ea39e37dc40d62719d3d02fdd5f5f1daa16d309a2b68107f9193d5532e649d7c'
'bc948b48acbf0fee188830aa8ddd0304173eea4ab78d1c2a59acd30312f06ef2'
'60a2f9ac47d978c854498abc375778d3a8db08a75cc3a34462a41fcce7787b24'
'93ed159837aa2f08299efd9578da0359c483cc9974164f2f1dc18467be7b8f27'
'b44d81446d8b53d5637287c30ae3eb64cae0078c3fbc45fcf1081dd6699818b5'
......@@ -92,9 +91,9 @@ prepare() {
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}"
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
......@@ -136,9 +135,9 @@ prepare() {
#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 = ${_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"
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