summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-11-11 10:03:33 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-11-11 10:07:53 -0800
commitd3f1f1c0240f6b4cfe20673b0dece697e9287ee1 (patch)
tree44663b918529042b0482c34e5fea239bd7baf54b /sys-apps
parentdev-db/postgresql: Security bump (diff)
downloadgentoo-d3f1f1c0240f6b4cfe20673b0dece697e9287ee1.tar.gz
gentoo-d3f1f1c0240f6b4cfe20673b0dece697e9287ee1.tar.bz2
gentoo-d3f1f1c0240f6b4cfe20673b0dece697e9287ee1.zip
sys-apps/coreutils: update zfs-kmod checker
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/coreutils/coreutils-9.0-r1.ebuild7
1 files 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 394f624522d0..9809b98ed1d3 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
)