summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichael Lass2019-02-20 22:12:23 +0100
committerMichael Lass2019-02-20 22:27:19 +0100
commit659fa9924f89633ffa3d658745cec10a8123b100 (patch)
treecb008ffb24da4cd5e18e57a22cace0695b7ab58d /PKGBUILD
parent7fabe8e4bfb14a91bf18305fba0f802143093c3a (diff)
downloadaur-659fa9924f89633ffa3d658745cec10a8123b100.tar.gz
Prepare for Linux 5.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 15 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 385ef097bfe..642ee3afdf2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=openafs-modules
_srcname=openafs
pkgver=1.8.2
-pkgrel=2
+pkgrel=3
pkgdesc="Kernel module for OpenAFS"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.openafs.org"
@@ -17,11 +17,17 @@ conflicts=('openafs-features-libafs' 'openafs<1.6.6-2')
options=(!emptydirs)
source=("http://openafs.org/dl/openafs/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2"
0001-Linux-4.20-current_kernel_time-is-gone.patch
- 0002-Linux-4.20-do_settimeofday-is-gone.patch)
+ 0002-Linux-4.20-do_settimeofday-is-gone.patch
+ 0003-Linux_5.0-Use-super_block-flags-instead-of-Mount-fla.patch
+ 0004-Linux_5.0-replace-do_gettimeofday-with-ktime_get_rea.patch
+ 0005-Linux_5.0-replaced-current_kernel_time-with-ktime_ge.patch)
install=openafs-modules.install
sha256sums=('25fd3e4261a72a2cbdd40367e5f981895d80c32aaf309a5842aecc739dd3138e'
- 'af5f65915c33a13311280ca5f1d52e49d954341d2b5d8939fc0ccb6a15663388'
- 'a4036be334ce54a4eb4a777621983e6535144d4c81d717e2045bb9040cf3ae8b')
+ 'd0ec82bfc844e3fc1f342b607e7107bd8a51d746cbffc075779fc09cc85751ef'
+ '793ea07fc906f9fad730c66c742dead5e4323d2cdb58265d7dc592748998b9eb'
+ '8a7ad04bf819f47775ac8ba3533ff34b9e4d6758806310ec734ded9e598bb0b0'
+ 'f5788728380f1038a71452488c9bfea6ee14a4ce7fd6f5b4d14095f70d9c718d'
+ 'db6e99d72a4eeb74497e2123c55b1354a25532b7cb7aa45646ed7a28a83cb181')
# Heuristic to determine version of installed kernel
# You can modify this if the heuristic fails
@@ -35,6 +41,11 @@ prepare() {
patch -p1 < "${srcdir}/0001-Linux-4.20-current_kernel_time-is-gone.patch"
patch -p1 < "${srcdir}/0002-Linux-4.20-do_settimeofday-is-gone.patch"
+ # Compatibility with Linux 5.0
+ patch -p1 < "${srcdir}/0003-Linux_5.0-Use-super_block-flags-instead-of-Mount-fla.patch"
+ patch -p1 < "${srcdir}/0004-Linux_5.0-replace-do_gettimeofday-with-ktime_get_rea.patch"
+ patch -p1 < "${srcdir}/0005-Linux_5.0-replaced-current_kernel_time-with-ktime_ge.patch"
+
# Only needed when changes to configure were made
./regen.sh -q
}