From 6e558025d6959c18229b8cd15cf2b9a0a31c6ac7 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Tue, 19 Apr 2022 00:44:03 +0200 Subject: [PATCH] sys-cluster/cinder: optfeatures Signed-off-by: Alessandro Barbieri --- sys-cluster/cinder/cinder-20.0.0.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys-cluster/cinder/cinder-20.0.0.ebuild b/sys-cluster/cinder/cinder-20.0.0.ebuild index 049920feed..3d31df44a5 100644 --- a/sys-cluster/cinder/cinder-20.0.0.ebuild +++ b/sys-cluster/cinder/cinder-20.0.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 MYP="${P/_rc/rc}" PYTHON_COMPAT=( python3_{8..9} ) -inherit distutils-r1 linux-info systemd tmpfiles +inherit distutils-r1 linux-info optfeature systemd tmpfiles DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes" HOMEPAGE=" @@ -172,6 +172,11 @@ python_install_all() { pkg_postinst() { tmpfiles_process cinder.conf + elog "Cinder needs tgtd to be installed and running to work with iscsi" elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf" + + optfeature "datacore" >=dev-python/websocket-client-0.32.0 + optfeature "powermax" >=dev-python/pyopenssl-17.5.0 + optfeature "ds8k" >=dev-python/pyopenssl-17.5.0 }