SHA256
1
0
forked from pool/libvirt
libvirt/install-apparmor-profiles.patch

19 lines
543 B
Diff

Index: libvirt-0.9.3/examples/apparmor/Makefile.am
===================================================================
--- libvirt-0.9.3.orig/examples/apparmor/Makefile.am
+++ libvirt-0.9.3/examples/apparmor/Makefile.am
@@ -3,3 +3,12 @@ EXTRA_DIST= \
libvirt-qemu \
usr.lib.libvirt.virt-aa-helper \
usr.sbin.libvirtd
+
+if WITH_SECDRIVER_APPARMOR
+confdir = $(sysconfdir)/apparmor.d/libvirt
+conf_DATA= \
+ TEMPLATE \
+ libvirt-qemu \
+ usr.lib.libvirt.virt-aa-helper \
+ usr.sbin.libvirtd
+endif
\ No newline at end of file