mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
make sure all profiles have #include <local/...>
Acked-by: Steve Beattie <steve@nxnw.org>
This commit is contained in:
@@ -44,6 +44,7 @@ local:
|
||||
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
|
||||
|
Reference in New Issue
Block a user