summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2018-02-04 21:59:24 +0800
committerJason Zaman <perfinion@gentoo.org>2018-02-04 22:20:16 +0800
commitf8698a457a75d4cfc7a8cc71d7ad1c98d3c60bbc (patch)
tree20357e2e215c730314d10c52480c3fcafb7b5c0e /sec-policy/selinux-base-policy/selinux-base-policy-2.20170805-r2.ebuild
parentwww-client/phantomjs: Update Manifest hashes. (diff)
downloadgentoo-f8698a457a75d4cfc7a8cc71d7ad1c98d3c60bbc.tar.gz
gentoo-f8698a457a75d4cfc7a8cc71d7ad1c98d3c60bbc.tar.bz2
gentoo-f8698a457a75d4cfc7a8cc71d7ad1c98d3c60bbc.zip
sec-policy/selinux-base-policy: postinst should not die
postinst is not allowed to die and it breaks catalyst stage building. commit f03eee7017c288deabdfc593079397d480ea473a fixed this for some versions, this fixes all the other ebuilds too that were missed. Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sec-policy/selinux-base-policy/selinux-base-policy-2.20170805-r2.ebuild')
-rw-r--r--sec-policy/selinux-base-policy/selinux-base-policy-2.20170805-r2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-2.20170805-r2.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-2.20170805-r2.ebuild
index c3e966881051..27177f647158 100644
--- a/sec-policy/selinux-base-policy/selinux-base-policy-2.20170805-r2.ebuild
+++ b/sec-policy/selinux-base-policy/selinux-base-policy-2.20170805-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -104,9 +104,9 @@ pkg_postinst() {
for i in ${POLICY_TYPES}; do
einfo "Inserting the following modules, with base, into the $i module store: ${MODS}"
- cd /usr/share/selinux/${i} || die "Could not enter /usr/share/selinux/${i}"
+ cd /usr/share/selinux/${i}
- semodule -s ${i} ${COMMAND} || die "Failed to load in base and modules ${MODS} in the $i policy store"
+ semodule -s ${i} ${COMMAND}
done
# Relabel depending packages