community/linux-tools to 4.11-2

This commit is contained in:
Kevin Mihelich 2017-06-06 12:25:42 +00:00
parent d9cdcad4d6
commit 938808f18c

View file

@ -20,7 +20,7 @@ pkgname=(
'iio-utils'
)
pkgver=4.11
pkgrel=1
pkgrel=2
license=('GPL2')
arch=('i686' 'x86_64')
url='https://www.kernel.org'
@ -40,12 +40,16 @@ makedepends+=('ncurses')
groups=("$pkgbase")
source=("https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${pkgver}.tar.xz"
#'https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-4.9.9.xz'
'cfd6ed4537a9e938fa76facecd4b9cd65b6d1563.patch::https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/patch/?id=cfd6ed4537a9e938fa76facecd4b9cd65b6d1563'
'e5dfa3f902b9a642ae8c6997d57d7c41e384a90b.patch::https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/patch/?id=e5dfa3f902b9a642ae8c6997d57d7c41e384a90b'
'571299d099dcce0ff32c76e70e32e0ba01e55adc.diff::https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/tools/iio?id=571299d099dcce0ff32c76e70e32e0ba01e55adc'
'cpupower.default'
'cpupower.systemd'
'cpupower.service'
'usbipd.service')
md5sums=('251a5deee0fa6daf3f356b1bbda9eab8'
'ddc965c52d8a0f0fd5d8297f656116dd'
'38b4aec66e1b0eb679b3349821fb5449'
'6c0bdf6ebe33ca5b3ba4ea1a5668051b'
'56883c159381ba89e50ab8ea65efec77'
'34f5ecc19770a1abbcd0fd65bfd1f065'
@ -54,8 +58,15 @@ md5sums=('251a5deee0fa6daf3f356b1bbda9eab8'
prepare() {
cd linux-$pkgver
# usbip: Fix implicit fallthrough warning
patch -p1 -i ../cfd6ed4537a9e938fa76facecd4b9cd65b6d1563.patch
# usbip: Fix potential format overflow in userspace tools
patch -p1 -i ../e5dfa3f902b9a642ae8c6997d57d7c41e384a90b.patch
# apply stable kernel patch
#patch -p1 -N -i "$srcdir"/patch-4.7.5
# apply patch from the source array (should be a pacman feature)
local filename
for filename in "${source[@]}"; do