summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorArchzfs Buildbot2020-02-29 14:57:52 +0000
committerArchzfs Buildbot2020-02-29 14:57:52 +0000
commit45785255a7b72c433cd284097c0998ff16dfd717 (patch)
tree980efd209f157a4fc89f9f4a8ce745867e804372 /PKGBUILD
parent3603b43795e5b6c37f3e964a24a4add1454319f8 (diff)
downloadaur-45785255a7b72c433cd284097c0998ff16dfd717.tar.gz
Semi-automated update for kernel 5.5.6.arch1-1 + zfs 0.8.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a4919aa507c..f5f21fcc377 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@
pkgbase="zfs-linux"
pkgname=("zfs-linux" "zfs-linux-headers")
_zfsver="0.8.3"
-_kernelver="5.5.4.arch1-1"
+_kernelver="5.5.6.arch1-1"
_extramodules="${_kernelver/.arch/-arch}"
pkgver="${_zfsver}_$(echo ${_kernelver} | sed s/-/./g)"
@@ -26,10 +26,16 @@ pkgrel=1
makedepends=("linux-headers=${_kernelver}")
arch=("x86_64")
url="https://zfsonlinux.org/"
-source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-${_zfsver}/zfs-${_zfsver}.tar.gz")
-sha256sums=("545a4897ce30c2d2dd9010a0fdb600a0d3d45805e2387093c473efc03aa9d7fd")
+source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-${_zfsver}/zfs-${_zfsver}.tar.gz"
+ "linux-5.5-compat-blkg_tryget.patch")
+sha256sums=("545a4897ce30c2d2dd9010a0fdb600a0d3d45805e2387093c473efc03aa9d7fd"
+ "daae58460243c45c2c7505b1d88dcb299ea7d92bcf3f41d2d30bc213000bb1da")
license=("CDDL")
depends=("kmod" "zfs-utils=${_zfsver}" "linux=${_kernelver}")
+prepare() {
+ cd "${srcdir}/zfs-${_zfsver}"
+ patch -Np1 -i ${srcdir}/linux-5.5-compat-blkg_tryget.patch
+}
build() {
cd "${srcdir}/zfs-${_zfsver}"