mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
core/linux-kirkwood add patch to fix BFQ bug
This commit is contained in:
parent
be4f9b9d49
commit
e4eb7802d5
1 changed files with 11 additions and 3 deletions
|
@ -9,7 +9,7 @@ pkgname=('linux-kirkwood' 'linux-headers-kirkwood')
|
|||
_kernelname=${pkgname#linux}
|
||||
_basekernel=3.8.2
|
||||
pkgver=${_basekernel}
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
cryptover=1.5
|
||||
bfqver=v6
|
||||
arch=('arm')
|
||||
|
@ -27,7 +27,11 @@ source=("ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-${_basekernel}.tar.bz2
|
|||
"http://download.gna.org/cryptodev-linux/cryptodev-linux-${cryptover}.tar.gz"
|
||||
"http://algo.ing.unimo.it/people/paolo/disk_sched/patches/$(echo $_basekernel |cut -c 1-3).0-${bfqver}/0001-block-cgroups-kconfig-build-bits-for-BFQ-${bfqver}-$(echo $_basekernel | cut -c 1-3).patch"
|
||||
"http://algo.ing.unimo.it/people/paolo/disk_sched/patches/$(echo $_basekernel |cut -c 1-3).0-${bfqver}/0002-block-introduce-the-BFQ-${bfqver}-I-O-sched-for-$(echo $_basekernel |cut -c 1-3).patch"
|
||||
'aufs3-3.8.patch.xz')
|
||||
'aufs3-3.8.patch.xz'
|
||||
#Temporary fix. Need to be removed after new BFQ release
|
||||
#when its merged ( > v6)
|
||||
"http://dl.dropbox.com/u/15043728/ArchLinuxArm/kernels/0001-block-bfq-attempt-to-fix-use-after-free-which-3.3.0-to-3.8.0.patch")
|
||||
|
||||
md5sums=('ba543a7a61d861f90589de875d2724aa'
|
||||
'ddabf9f75419d6e811f30eeb985654d5'
|
||||
'f5d3635da03cb45904bedd69b47133de'
|
||||
|
@ -38,7 +42,8 @@ md5sums=('ba543a7a61d861f90589de875d2724aa'
|
|||
'3a4b8d23c1708283e29477931d63ffb8'
|
||||
'03eca1c188c076041f8d74100d55d659'
|
||||
'90b11395c702610bf4b42e72913f23f8'
|
||||
'd819af0969e0726cbf9ae6be5e044a75')
|
||||
'd819af0969e0726cbf9ae6be5e044a75'
|
||||
'5c76a198d2242acd66fc4a0a3f955461')
|
||||
build() {
|
||||
cd "${srcdir}/linux-${_basekernel}"
|
||||
|
||||
|
@ -59,6 +64,9 @@ msg2 "Add AUFS3 patches"
|
|||
msg2 "Add BFQ patches"
|
||||
patch -Np1 -i "${srcdir}/0001-block-cgroups-kconfig-build-bits-for-BFQ-${bfqver}-$(echo $_basekernel | cut -c 1-3).patch"
|
||||
patch -Np1 -i "${srcdir}/0002-block-introduce-the-BFQ-${bfqver}-I-O-sched-for-$(echo $_basekernel |cut -c 1-3).patch"
|
||||
#Remove after new BFQ release (> v6)
|
||||
msg2 "Fix BFQ bug"
|
||||
patch -Np1 -i "${srcdir}/0001-block-bfq-attempt-to-fix-use-after-free-which-3.3.0-to-3.8.0.patch"
|
||||
|
||||
# add latest fixes from stable queue, if needed
|
||||
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
|
||||
|
|
Loading…
Reference in a new issue