commit:     7ad7c121359323754a268ccb00da6a575982de86
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  6 13:41:20 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 13:54:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad7c121

sys-boot/plymouth-openrc-plugin: add proper blocker for systemd

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../plymouth-openrc-plugin/plymouth-openrc-plugin-0.1.3.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git 
a/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.1.3.ebuild 
b/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.1.3.ebuild
index f08b887569e..cbcd73c52a0 100644
--- a/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.1.3.ebuild
+++ b/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.1.3.ebuild
@@ -12,9 +12,10 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE=""
 
-DEPEND="sys-apps/openrc:="
+DEPEND="sys-apps/openrc"
 RDEPEND="${DEPEND}
-       sys-boot/plymouth"
+       sys-boot/plymouth
+       !sys-apps/systemd"
 
 src_install() {
        insinto /$(get_libdir)/rc/plugins
@@ -26,9 +27,4 @@ pkg_postinst() {
                ewarn "You need to disable 'rc_interactive' feature in 
/etc/rc.conf to make"
                ewarn "Plymouth work properly with OpenRC init system."
        fi
-
-       if has_version sys-apps/systemd; then
-               eerror "sys-apps/systemd is installed, please uninstall this 
package if you"
-               eerror "are booting with systemd"
-       fi
 }

Reply via email to