sys-fs/zfs: update live ebuild

require linux-mod only for live ebuilds, it's required for moduledb call
to work but pulls kernel virtual

Bug: https://bugs.gentoo.org/693678
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
Georgy Yakovlev
2020-02-06 20:52:12 -08:00
parent 2a8fc3d832
commit 5e865d5c34

View File

@@ -4,15 +4,15 @@
EAPI=7
DISTUTILS_OPTIONAL=1
PYTHON_COMPAT=( python{2_7,3_{6,7}} )
PYTHON_COMPAT=( python3_{6,7} )
inherit bash-completion-r1 flag-o-matic linux-info linux-mod distutils-r1 systemd toolchain-funcs udev usr-ldscript
inherit bash-completion-r1 flag-o-matic linux-info distutils-r1 systemd toolchain-funcs udev usr-ldscript
DESCRIPTION="Userland utilities for ZFS Linux kernel module"
HOMEPAGE="https://zfsonlinux.org/"
if [[ ${PV} == "9999" ]] ; then
inherit autotools git-r3
inherit autotools git-r3 linux-mod
EGIT_REPO_URI="https://github.com/zfsonlinux/zfs.git"
else
SRC_URI="https://github.com/zfsonlinux/${PN}/releases/download/${P}/${P}.tar.gz"