From: Jason Zaman Date: Tue, 8 Sep 2015 14:41:16 +0000 (+0800) Subject: sec-policy/selinux-base: Add @selinux-rebuild portage set X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bd82fbff669bb31fbbaa8ae4d8c1006c9bcee706;p=gentoo.git sec-policy/selinux-base: Add @selinux-rebuild portage set Package-Manager: portage-2.2.20.1 --- 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() {