mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-16 14:16:16 -06:00
Apparmor: add local configuration
This commit is contained in:
parent
75a75e87f7
commit
c5e188cbda
3 changed files with 4 additions and 0 deletions
|
|
@ -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>
|
||||
}
|
||||
|
|
|
|||
1
etc/firejail-local
Normal file
1
etc/firejail-local
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Site-specific additions and overrides for 'firejail-default'
|
||||
Loading…
Add table
Add a link
Reference in a new issue