mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
sec-policy/selinux-base-policy: postinst should not die
It breaks catalyst stage building. Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user