Iterate across patches since bundled application is only supported if the patches...
authorSven Vermeulen <swift@gentoo.org>
Mon, 22 Aug 2011 19:51:33 +0000 (19:51 +0000)
committerSven Vermeulen <swift@gentoo.org>
Mon, 22 Aug 2011 19:51:33 +0000 (19:51 +0000)
eclass/selinux-policy-2.eclass

index 429a6db11206277689d4b28d1f64f05acb5d493c..a4bd338f617a30a9cf346a258b3e435131ed000e 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 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.9 2011/08/22 04:46:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.10 2011/08/22 19:51:33 swift Exp $
 
 # Eclass for installing SELinux policy, and optionally
 # reloading the reference-policy based modules.
@@ -117,7 +117,11 @@ selinux-policy-2_src_prepare() {
        if [[ -n ${BASEPOL} ]];
        then
                cd "${S}"
-               epatch "${PATCHBUNDLE}"
+               EPATCH_MULTI_MSG="Applying SELinux policy updates ... " \
+               EPATCH_SUFFIX="patch" \
+               EPATCH_SOURCE="${WORKDIR}" \
+               EPATCH_FORCE="yes" \
+               epatch
        fi
 
        # Apply the additional patches refered to by the module ebuild.