mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
meson: Don't hardcode /etc in APPARMOR_DIR
src/security/apparmor/meson.build builds this path dynamically based on the value of sysconfdir, so we should do the same here or the code and the filesystem might end up disagreeing. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
This commit is contained in:
parent
6724c09cb3
commit
308904472b
@ -970,7 +970,7 @@ if apparmor_dep.found()
|
||||
conf.set('WITH_APPARMOR_PROFILES', 1)
|
||||
endif
|
||||
conf.set('WITH_APPARMOR', 1)
|
||||
conf.set_quoted('APPARMOR_DIR', '/etc/apparmor.d')
|
||||
conf.set_quoted('APPARMOR_DIR', sysconfdir / 'apparmor.d')
|
||||
conf.set_quoted('APPARMOR_PROFILES_PATH', '/sys/kernel/security/apparmor/profiles')
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user