summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2013-05-07 09:25:17 +0000
committerSven Vermeulen <swift@gentoo.org>2013-05-07 09:25:17 +0000
commit460a43a6f11d403694701f7389ebd1a1e2956a16 (patch)
treecc86cbce4c9034207dff71f226224b857709cc0a /eclass/selinux-policy-2.eclass
parentSupport epatch_user for default, non-base modules (diff)
downloadgentoo-2-460a43a6f11d403694701f7389ebd1a1e2956a16.tar.gz
gentoo-2-460a43a6f11d403694701f7389ebd1a1e2956a16.tar.bz2
gentoo-2-460a43a6f11d403694701f7389ebd1a1e2956a16.zip
Call epatch_user in selinux policy ebuilds
Diffstat (limited to 'eclass/selinux-policy-2.eclass')
-rw-r--r--eclass/selinux-policy-2.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/selinux-policy-2.eclass b/eclass/selinux-policy-2.eclass
index 8445265e0116..f4bbeb43119e 100644
--- a/eclass/selinux-policy-2.eclass
+++ b/eclass/selinux-policy-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.18 2013/04/28 16:15:33 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.19 2013/05/07 09:25:17 swift Exp $
# Eclass for installing SELinux policy, and optionally
# reloading the reference-policy based modules.
@@ -152,6 +152,10 @@ selinux-policy-2_src_prepare() {
epatch
fi
+ # Call in epatch_user. We do this early on as we start moving
+ # files left and right hereafter.
+ epatch_user
+
# Copy additional files to the 3rd_party/ location
if [[ "$(declare -p POLICY_FILES 2>/dev/null 2>&1)" == "declare -a"* ]] ||
[[ -n ${POLICY_FILES} ]];