Hello,

the following patch makes sure all profiles have a line
  #include <local/...>

BTW: All profiles pass this test :-)  but having an additional check 
can never hurt.


=== modified file 'profiles/Makefile'
--- profiles/Makefile   2013-01-05 00:33:41 +0000
+++ profiles/Makefile   2014-01-19 19:22:56 +0000
@@ -44,6 +44,7 @@
        for profile in ${TOPLEVEL_PROFILES}; do \
                fn=$$(basename $$profile); \
                echo "# Site-specific additions and overrides for '$$fn'" > 
${PROFILES_SOURCE}/local/$$fn; \
+               grep "include\\s\\s*<local/$$fn>" "$$profile" >/dev/null || { 
echo "$$profile doesn't contain #include <local/$$fn>" ; exit 1; } ; \
        done; \
 
 .PHONY: install



Regards,

Christian Boltz
-- 
   116: Programm
          Sobald eine Datei von einem Virus infiziert werden kann, ist
          es ein Programm. (Markus Kuhn)


-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to