diff options
author | Jason Zaman <perfinion@gentoo.org> | 2015-09-08 22:41:16 +0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2015-09-08 23:10:08 +0800 |
commit | bd82fbff669bb31fbbaa8ae4d8c1006c9bcee706 (patch) | |
tree | 84601052d410e738108c93d24ca364ecec7686ae /sec-policy | |
parent | media-sound/alsamixergui: fix bug 557170 (diff) | |
download | gentoo-bd82fbff669bb31fbbaa8ae4d8c1006c9bcee706.tar.gz gentoo-bd82fbff669bb31fbbaa8ae4d8c1006c9bcee706.tar.bz2 gentoo-bd82fbff669bb31fbbaa8ae4d8c1006c9bcee706.zip |
sec-policy/selinux-base: Add @selinux-rebuild portage set
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sec-policy')
-rw-r--r-- | sec-policy/selinux-base/files/selinux.conf | 4 | ||||
-rw-r--r-- | sec-policy/selinux-base/selinux-base-9999.ebuild | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sec-policy/selinux-base/files/selinux.conf b/sec-policy/selinux-base/files/selinux.conf new file mode 100644 index 000000000000..77d379e81251 --- /dev/null +++ b/sec-policy/selinux-base/files/selinux.conf @@ -0,0 +1,4 @@ +# Rebuild all selinux policy modules +[selinux-rebuild] +class = portage.sets.dbapi.OwnerSet +files = /usr/share/selinux/ diff --git a/sec-policy/selinux-base/selinux-base-9999.ebuild b/sec-policy/selinux-base/selinux-base-9999.ebuild index 8eacaee71c4d..3fd50ec7b803 100644 --- a/sec-policy/selinux-base/selinux-base-9999.ebuild +++ b/sec-policy/selinux-base/selinux-base-9999.ebuild @@ -162,6 +162,9 @@ src_install() { insinto /etc/selinux doins "${FILESDIR}/config" + + insinto /usr/share/portage/config/sets + doins "${FILESDIR}/selinux.conf" || die "failed to install selinux-rebuild portage set" } pkg_preinst() { |