Commit c5e188cb authored by Vladimir Schowalter's avatar Vladimir Schowalter Committed by GitHub

Apparmor: add local configuration

parent 75a75e87
......@@ -128,6 +128,8 @@ ifeq ($(HAVE_APPARMOR),-DHAVE_APPARMOR)
# install apparmor profile
sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d; fi;"
install -c -m 0644 etc/firejail-default $(DESTDIR)/$(sysconfdir)/apparmor.d/.
sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d/local ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d/local; fi;"
install -c -m 0644 etc/firejail-local $(DESTDIR)/$(sysconfdir)/apparmor.d/local/.
endif
# man pages
install -m 0755 -d $(DESTDIR)/$(mandir)/man1
......
......@@ -154,4 +154,5 @@ remount,
umount,
pivot_root,
#include <local/firejail-local>
}
# Site-specific additions and overrides for 'firejail-default'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment