summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichael Lass2017-02-28 17:04:58 +0100
committerMichael Lass2017-02-28 17:04:58 +0100
commit2061a761d5e2843862c2bbfb0540d66715c964ae (patch)
treeee580a511e937ee88bb38db06bd7956f12a2d66c /PKGBUILD
parent677dd8bca20bf4018af522fe0807b1caa2d19661 (diff)
downloadaur-2061a761d5e2843862c2bbfb0540d66715c964ae.tar.gz
Add patch to work with kernel 4.10
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 783a1880aaf..699a716230e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=openafs-modules
_srcname=openafs
pkgver=1.6.20.1
-pkgrel=1
+pkgrel=2
pkgdesc="Kernel module for OpenAFS"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.openafs.org"
@@ -15,9 +15,11 @@ depends=('openafs')
makedepends=('linux-headers')
conflicts=('openafs-features-libafs' 'openafs<1.6.6-2')
options=(!emptydirs)
-source=(http://openafs.org/dl/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2)
+source=(http://openafs.org/dl/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2
+ 0001-Linux-4.10-have_submounts-is-gone.patch)
install=openafs-modules.install
-sha256sums=('dc869eecf6c81949d3dd2021eaf87118ef9b90ec5012a35f64836a02a58a8826')
+sha256sums=('dc869eecf6c81949d3dd2021eaf87118ef9b90ec5012a35f64836a02a58a8826'
+ '48efa08f0c384df84ce114f418a2db8607ab3e4f32bbcfd60ef54b8c1bae2e94')
# Heuristic to determine version of installed kernel
# You can modify this if the heuristic fails
@@ -27,6 +29,9 @@ _kernelver=$(cat ${_extramodules}/version)
prepare() {
cd ${srcdir}/${_srcname}-${pkgver}
+ # add upstream patch for kernel 4.10
+ patch -p1 -i "${srcdir}"/0001-Linux-4.10-have_submounts-is-gone.patch
+
# Only needed when changes to configure were made
# ./regen.sh -q
}