commit:     670a91367f929f3d962448f831cecc343f8c2794
Author:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 17 15:48:23 2019 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sat Dec 21 14:00:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=670a9136

sec-policy/selinux-base-policy: Add systemd module unconditionally

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 sec-policy/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 7b6afaf3e21..17908940fcb 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

Reply via email to