summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-08-27 00:55:35 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-08-27 01:08:26 -0700
commitb9f4a00e2fcef15b98f114ff56efa4ab2c5532c2 (patch)
treeaa8965a262fa989c36d74575f93610a5d2b8123e /sys-fs/zfs-kmod
parentsys-fs/zfs: update live ebuild, add rc version handling (diff)
downloadgentoo-b9f4a00e2fcef15b98f114ff56efa4ab2c5532c2.tar.gz
gentoo-b9f4a00e2fcef15b98f114ff56efa4ab2c5532c2.tar.bz2
gentoo-b9f4a00e2fcef15b98f114ff56efa4ab2c5532c2.zip
sys-fs/zfs-kmod: update live ebuild, add rc version handling
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-fs/zfs-kmod')
-rw-r--r--sys-fs/zfs-kmod/zfs-kmod-9999.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild b/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild
index 22234cd51f21..689dcbc44941 100644
--- a/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild
+++ b/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild
@@ -12,10 +12,11 @@ if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/openzfs/zfs.git"
else
- SRC_URI="https://github.com/openzfs/zfs/releases/download/zfs-${PV}/zfs-${PV}.tar.gz"
+ MY_PV="${PV/_rc/-rc}"
+ SRC_URI="https://github.com/openzfs/zfs/releases/download/zfs-${MY_PV}/zfs-${MY_PV}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~ppc64"
- S="${WORKDIR}/zfs-${PV}"
- ZFS_KERNEL_COMPAT="5.6"
+ S="${WORKDIR}/zfs-${PV%_rc?}"
+ ZFS_KERNEL_COMPAT="5.8"
fi
LICENSE="CDDL debug? ( GPL-2+ )"