Semi-automated update for kernel 5.10.3.arch1-1 + zfs 2.0.0

This commit is contained in:
Archzfs Buildbot
2021-01-01 14:39:59 +00:00
parent 70e4b6d597
commit 445de0ab89
3 changed files with 289 additions and 7 deletions

View File

@@ -18,7 +18,7 @@
pkgbase="zfs-linux"
pkgname=("zfs-linux" "zfs-linux-headers")
_zfsver="2.0.0"
_kernelver="5.9.14.arch1-1"
_kernelver="5.10.3.arch1-1"
_extramodules="${_kernelver/.arch/-arch}"
pkgver="${_zfsver}_$(echo ${_kernelver} | sed s/-/./g)"
@@ -26,14 +26,20 @@ 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=("3403bf8e993f3c9d772f768142117df47bdbbb8e9bbf85a29c0e166f577f9311")
source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-${_zfsver}/zfs-${_zfsver}.tar.gz"
"autoconf-270-compatibility.patch")
sha256sums=("3403bf8e993f3c9d772f768142117df47bdbbb8e9bbf85a29c0e166f577f9311"
"dc82ee4e62f76b68d972423909c38ced28dea876c6ef4f19037a24a8dbb2fff5")
license=("CDDL")
depends=("kmod" "zfs-utils=${_zfsver}" "linux=${_kernelver}")
prepare() {
cd "${srcdir}/zfs-${_zfsver}"
patch -Np1 -i ${srcdir}/autoconf-270-compatibility.patch
}
build() {
cd "${srcdir}/zfs-${_zfsver}"
./autogen.sh
./autogen.sh || true
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --libdir=/usr/lib \
--datadir=/usr/share --includedir=/usr/include --with-udevdir=/usr/lib/udev \
--libexecdir=/usr/lib --with-config=kernel \