commit: d3f1f1c0240f6b4cfe20673b0dece697e9287ee1
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 11 18:03:33 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Nov 11 18:07:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f1f1c0
sys-apps/coreutils: update zfs-kmod checker
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
sys-apps/coreutils/coreutils-9.0-r1.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild
b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
index 394f624522d..9809b98ed1d 100644
--- a/sys-apps/coreutils/coreutils-9.0-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
@@ -59,8 +59,8 @@ RDEPEND+="
!<net-fs/netatalk-2.0.3-r4"
pkg_pretend() {
- if has_version sys-fs/zfs; then
- einfo "Checking for compatible ZFS version"
+ if has_version "<sys-fs/zfs-9999" ; then
+ einfo "Checking for running ZFS module version"
local kmodv minver
kmodv="$(grep kmod <(zfs -V 2>/dev/null))"
@@ -73,6 +73,9 @@ pkg_pretend() {
Attempted installation of ${P} on unsupported version
of zfs-kmod!
Please reboot to a newer version of zfs-kmod first:
zfs-kmod >=2.0.7 or zfs-kmod >=2.1.1-r3
+ Using ${P} with running version of zfs-kmod of can
+ lead to data loss while using cp command on some
configurations.
+ See https://github.com/openzfs/zfs/issues/11900 for
details.
EOF
)