sys-cluster/ceph: die in 13.2.2 with cephfs USE flag (bug #670592)
authorPatrick McLean <chutzpah@gentoo.org>
Thu, 8 Nov 2018 01:51:30 +0000 (17:51 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Thu, 8 Nov 2018 01:51:30 +0000 (17:51 -0800)
Add pkg_pretend that dies if cephfs USE flag is enabled.

Closes: https://bugs.gentoo.org/670592
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
sys-cluster/ceph/ceph-13.2.2-r1.ebuild

index acdd6899e458e3e022b35ef872271734469a898c..a657a929d8b0ac5ba7963888f55c73bbcfb5b2a7 100644 (file)
@@ -167,6 +167,15 @@ user_setup() {
 }
 
 pkg_pretend() {
+       if use cephfs; then
+               eerror "Cephfs support is broken in 13.2.2, please mask ${PF} if"
+               eerror "you need cephfs support: "
+               eerror " # echo '=${CATEGORY}/${PF}' >> /etc/portage/package.mask"
+               eerror
+               eerror "See https://bugs.gentoo.org/670592 for more information"
+               die "CephFS support is currently broken"
+       fi
+
        check-reqs_export_vars
        check-reqs_pkg_pretend
 }