summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2019-12-17 23:48:23 +0800
committerJason Zaman <perfinion@gentoo.org>2019-12-21 22:00:47 +0800
commit670a91367f929f3d962448f831cecc343f8c2794 (patch)
tree120dbfafed714453752d2623036c5ed09bf91ac8 /sec-policy
parentsec-policy/selinux-base: Add unknown-perms policy capability (diff)
downloadgentoo-670a91367f929f3d962448f831cecc343f8c2794.tar.gz
gentoo-670a91367f929f3d962448f831cecc343f8c2794.tar.bz2
gentoo-670a91367f929f3d962448f831cecc343f8c2794.zip
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@gentoo.org>
Diffstat (limited to 'sec-policy')
-rw-r--r--sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild8
1 files changed, 1 insertions, 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