commit: f3f93fcad23b37c0ba4bd7af4512645cc19d003e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Dec 19 11:20:59 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Dec 19 11:20:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3f93fca
sys-apps/coreutils: skip ZFS check when ZFS module not loaded Closes: https://bugs.gentoo.org/825790 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/coreutils/coreutils-9.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild b/sys-apps/coreutils/coreutils-9.0-r1.ebuild index 9809b98ed1d3..f8036f5a79b2 100644 --- a/sys-apps/coreutils/coreutils-9.0-r1.ebuild +++ b/sys-apps/coreutils/coreutils-9.0-r1.ebuild @@ -59,7 +59,7 @@ RDEPEND+=" !<net-fs/netatalk-2.0.3-r4" pkg_pretend() { - if has_version "<sys-fs/zfs-9999" ; then + if has_version "<sys-fs/zfs-9999" && grep -q zfs <(lsmod 2>/dev/null) ; then einfo "Checking for running ZFS module version" local kmodv minver
