From 670a91367f929f3d962448f831cecc343f8c2794 Mon Sep 17 00:00:00 2001 From: Jason Zaman Date: Tue, 17 Dec 2019 23:48:23 +0800 Subject: [PATCH] sec-policy/selinux-base-policy: Add systemd module unconditionally Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Jason Zaman --- .../selinux-base-policy/selinux-base-policy-9999.ebuild | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild index 7b6afaf3e213..17908940fcb0 100644 --- a/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild +++ b/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild @@ -24,7 +24,7 @@ PDEPEND="unconfined? ( sec-policy/selinux-unconfined )" DEPEND="=sec-policy/selinux-base-${PVR}[systemd?]" RDEPEND="$DEPEND" -MODS="application authlogin bootloader clock consoletype cron dmesg fstools getty hostname hotplug init iptables libraries locallogin logging lvm miscfiles modutils mount mta netutils nscd portage raid rsync selinuxutil setrans ssh staff storage su sysadm sysnetwork tmpfiles udev userdomain usermanage unprivuser xdg" +MODS="application authlogin bootloader clock consoletype cron dmesg fstools getty hostname hotplug init iptables libraries locallogin logging lvm miscfiles modutils mount mta netutils nscd portage raid rsync selinuxutil setrans ssh staff storage su sysadm sysnetwork systemd tmpfiles udev userdomain usermanage unprivuser xdg" LICENSE="GPL-2" SLOT="0" S="${WORKDIR}/" @@ -33,12 +33,6 @@ S="${WORKDIR}/" # itself), when reworked reinclude it. Only postinstall (where -b base.pp is # added) needs to remain then. -pkg_setup() { - if use systemd; then - MODS="${MODS} systemd" - fi -} - pkg_pretend() { for i in ${POLICY_TYPES}; do if [[ "${i}" == "targeted" ]] && ! use unconfined; then -- 2.26.2