summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lass2018-08-14 20:34:32 +0200
committerMichael Lass2018-08-14 20:34:32 +0200
commitccf7297ec53c9b89803a182e0b706ff6cee88020 (patch)
tree0f1e9d90e335faea37c60d9f0b09e7455facd441
parent2d7e9cf7c5cbdce6562e1dff112509359c9e46d0 (diff)
downloadaur-ccf7297ec53c9b89803a182e0b706ff6cee88020.tar.gz
Add patch for Linux 4.18
Thanks to Bastian Beischer for providing this change.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 12 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bbb759e31aa..404433de1f6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = openafs-modules
pkgdesc = Kernel module for OpenAFS
pkgver = 1.8.1
- pkgrel = 1
+ pkgrel = 2
url = http://www.openafs.org
install = openafs-modules.install
arch = i686
@@ -15,7 +15,9 @@ pkgbase = openafs-modules
conflicts = openafs<1.6.6-2
options = !emptydirs
source = http://openafs.org/dl/openafs/1.8.1/openafs-1.8.1-src.tar.bz2
+ source = linux_418.patch::http://git.openafs.org/?p=openafs.git;a=patch;h=554176bd236d772d670df9bdd2496facd5a4209a;hp=eb107ed5c6dd3a53b8a0593054cdf5a03e1421d7
sha256sums = 2f3c13710839510bca985deb6344aeeab72aff3c51b0269e578c7b4ccb8a5638
+ sha256sums = 2b990bec6e5141b85c2488e4c92b66c396f874dd63b05dc8516ccdc89eb0023e
pkgname = openafs-modules
diff --git a/PKGBUILD b/PKGBUILD
index c1d92ef13c9..d1110235cb4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=openafs-modules
_srcname=openafs
pkgver=1.8.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=('libelf' 'linux-headers')
conflicts=('openafs-features-libafs' 'openafs<1.6.6-2')
options=(!emptydirs)
-source=(http://openafs.org/dl/openafs/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2)
+source=("http://openafs.org/dl/openafs/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2"
+ "linux_418.patch::http://git.openafs.org/?p=openafs.git;a=patch;h=554176bd236d772d670df9bdd2496facd5a4209a;hp=eb107ed5c6dd3a53b8a0593054cdf5a03e1421d7")
install=openafs-modules.install
-sha256sums=('2f3c13710839510bca985deb6344aeeab72aff3c51b0269e578c7b4ccb8a5638')
+sha256sums=('2f3c13710839510bca985deb6344aeeab72aff3c51b0269e578c7b4ccb8a5638'
+ '2b990bec6e5141b85c2488e4c92b66c396f874dd63b05dc8516ccdc89eb0023e')
# Heuristic to determine version of installed kernel
# You can modify this if the heuristic fails
@@ -27,8 +29,11 @@ _kernelver=$(cat ${_extramodules}/version)
prepare() {
cd "${srcdir}/${_srcname}-${pkgver}"
+ # Patch for Linux 4.18 from https://gerrit.openafs.org/#/c/13268
+ patch -p1 < ${srcdir}/linux_418.patch
+
# Only needed when changes to configure were made
- #./regen.sh -q
+ ./regen.sh -q
}
build() {