]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson: Switch to autodetection for apparmor_profiles
authorAndrea Bolognani <abologna@redhat.com>
Thu, 27 May 2021 13:20:43 +0000 (15:20 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 1 Jun 2021 12:32:02 +0000 (14:32 +0200)
Match the behavior of most other features.

This will result in a change in behavior, because profiles will
now be installed whenever AppArmor support is enabled; on the
other hand, this is probably the behavior users expected in the
first place.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
meson_options.txt

index f4f40fe9b5234a9333edf267dbcc99eaaba5e952..df921c92430e0b329321df4613d2394a8132290a 100644 (file)
@@ -69,7 +69,7 @@ option('driver_vmware', type: 'feature', value: 'auto', description: 'VMware dri
 option('driver_vz', type: 'feature', value: 'auto', description: 'Virtuozzo driver')
 
 option('secdriver_apparmor', type: 'feature', value: 'auto', description: 'use AppArmor security driver')
-option('apparmor_profiles', type: 'feature', value: 'disabled', description: 'install apparmor profiles')
+option('apparmor_profiles', type: 'feature', value: 'auto', description: 'install apparmor profiles')
 option('secdriver_selinux', type: 'feature', value: 'auto', description: 'use SELinux security driver')