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

19 lines
543 B
Diff
Raw Normal View History

Index: libvirt-0.9.4/examples/apparmor/Makefile.am
===================================================================
--- libvirt-0.9.4.orig/examples/apparmor/Makefile.am
+++ libvirt-0.9.4/examples/apparmor/Makefile.am
@@ -6,3 +6,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