sec-policy/selinux-base-policy: Add systemd module unconditionally
authorJason Zaman <perfinion@gentoo.org>
Tue, 17 Dec 2019 15:48:23 +0000 (23:48 +0800)
committerJason Zaman <perfinion@gentoo.org>
Sat, 21 Dec 2019 14:00:47 +0000 (22:00 +0800)
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild

index 7b6afaf3e2134f4982dd082af14de35e3ef44363..17908940fcb03a455cbaf688d9bf676fe2a9fbe1 100644 (file)
@@ -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