sec-policy/selinux-base-policy: postinst should not die
authorJason Zaman <perfinion@gentoo.org>
Tue, 9 Jan 2018 17:47:21 +0000 (01:47 +0800)
committerJason Zaman <perfinion@gentoo.org>
Tue, 9 Jan 2018 17:58:13 +0000 (01:58 +0800)
It breaks catalyst stage building.

Package-Manager: Portage-2.3.13, Repoman-2.3.3

sec-policy/selinux-base-policy/selinux-base-policy-2.20170805-r3.ebuild
sec-policy/selinux-base-policy/selinux-base-policy-2.20170805-r4.ebuild

index c3e966881051ade2059ee1f3a0ff6d37404a2705..8ef5919d34774e5c71794c6aacfd654afc042e52 100644 (file)
@@ -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"
@@ -106,7 +106,7 @@ pkg_postinst() {
 
                cd /usr/share/selinux/${i} || die "Could not enter /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
index 111bd57377313a713e6ce54bbcfdcc33d98e1382..33d98c80502656bfb8200928b8b2a36f594ba960 100644 (file)
@@ -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"
@@ -106,7 +106,7 @@ pkg_postinst() {
 
                cd /usr/share/selinux/${i} || die "Could not enter /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