summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichael Lass2015-09-05 17:47:59 +0200
committerMichael Lass2015-09-05 17:47:59 +0200
commit51db5deeacf8d4b7dbfacf74d3828d71af4fd81b (patch)
tree972297769b45361fe23e6774bb82cab3a5b65ae0 /PKGBUILD
parentd994e67963eb31551a133b670d2e67a9b0e0f045 (diff)
downloadaur-51db5deeacf8d4b7dbfacf74d3828d71af4fd81b.tar.gz
Add patches for Linux 4.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 29 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e0143089445..633d02264e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=openafs-modules
_srcname=openafs
pkgver=1.6.14
-pkgrel=1
+pkgrel=2
pkgdesc="Kernel module for OpenAFS"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.openafs.org"
@@ -15,9 +15,23 @@ 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-CM-Use-kernel-allocator-directly.patch
+ 0002-Linux-4.2-Pass-namespace-to-sock_create_kern.patch
+ 0003-Linux-4.2-total_link_count-is-no-longer-accessible.patch
+ 0004-Linux-Add-AC_CHECK_LINUX_OPERATION-configure-macro.patch
+ 0005-Linux-4.2-Changes-in-link-operation-APIs.patch
+ 0006-Linux-Only-use-automount-for-volume-roots.patch
+)
install=openafs-modules.install
-sha256sums=('3e62c798a7f982c4f88d85d32e46bee6a47848d207b1e318fe661ce44ae4e01f')
+sha256sums=('3e62c798a7f982c4f88d85d32e46bee6a47848d207b1e318fe661ce44ae4e01f'
+ '53e62ac6cd815324321bbc847e6cc12f364746146e4d1423390035b2a3b05b22'
+ '05aef6f9311bde0e5a007c625b45d84600803617ef467e47888fe39dc837ea1b'
+ '3fafbaa20b3e74775be934c2243398209803f17693e3a4f6fcb9bdf8d7750f10'
+ 'a4f6fd9eb5a3b2b3e37ef218b5c4c2acce1e35d9ccf56e1b79edb224b7261cb7'
+ '0c8ccfd93a5ac3457372ad2bcad7e0bc04610ec5a0ba529527135bda6a048c3a'
+ '32179aaaffebd82887d8421938c64fbe6b1be8034d1e2ba24457f7ed0cfd38df')
# Heuristic to determine version of installed kernel
# You can modify this if the heuristic fails
@@ -27,8 +41,19 @@ _kernelver=$(cat ${_extramodules}/version)
prepare() {
cd ${srcdir}/${_srcname}-${pkgver}
+ # Patches that were already reviewed for 1.6.14.1, needed for Linux 4.2
+ patch -p1 < ${srcdir}/0001-Linux-CM-Use-kernel-allocator-directly.patch
+ patch -p1 < ${srcdir}/0002-Linux-4.2-Pass-namespace-to-sock_create_kern.patch
+ patch -p1 < ${srcdir}/0003-Linux-4.2-total_link_count-is-no-longer-accessible.patch
+ patch -p1 < ${srcdir}/0004-Linux-Add-AC_CHECK_LINUX_OPERATION-configure-macro.patch
+ patch -p1 < ${srcdir}/0005-Linux-4.2-Changes-in-link-operation-APIs.patch
+
+ # Patch relevant for Linux 4.2, still under review:
+ # http://gerrit.openafs.org/#change,11989
+ patch -p1 < ${srcdir}/0006-Linux-Only-use-automount-for-volume-roots.patch
+
# Only needed when changes to configure were made
- #./regen.sh -q
+ ./regen.sh -q
}
build() {