[packages/kernel] - added apparmor bcond

baggins baggins at pld-linux.org
Thu Sep 14 23:11:24 CEST 2017


commit 6768b87ef5b4a6d28fe9c55fba0bb374db63d65f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Sep 14 23:09:46 2017 +0200

    - added apparmor bcond

 kernel.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/kernel.spec b/kernel.spec
index c22ccc43..f1b49b6b 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -30,6 +30,7 @@
 %bcond_without	ipv6		# ipv6 support
 
 %bcond_without	aufs		# aufs4 support
+%bcond_with	apparmor	# UBUNTU SAUCE apparmor patches
 
 %bcond_with	vserver		# support for VServer
 
@@ -691,9 +692,11 @@ rm -f localversion-rt
 %endif
 
 # apparmor
+%if %{with apparmor}
 %patch5000 -p1
 %patch5001 -p1
 %patch5002 -p1
+%endif
 
 %patch250 -p1
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/7fa3189121d973b11869e89a5e4bcbcf1156bdfa



More information about the pld-cvs-commit mailing list