Revert "apparmor: Allow version-specific bits in abstractions too"

This reverts commit 63a312fa2d.

There is no longer any need to dynamically generate version specific
rules. This revert can be reverted, if the need ever arises again
in the future.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé committed 2025-04-01 12:28:24 +01:00
1 parent 933494237a
commit b8b60c4bee
3 files changed
+4 -15

No files matched your search

File renamed without changes.
File renamed without changes.
+4 -15
View File
@@ -5,11 +5,6 @@ apparmor_gen_profiles = [
'usr.sbin.virtxend',
]
apparmor_gen_abstractions = [
'libvirt-qemu',
'libvirt-lxc',
]
apparmor_gen_profiles_conf = configuration_data({
'sysconfdir': sysconfdir,
'sbindir': sbindir,
@@ -61,16 +56,10 @@ foreach name : apparmor_gen_profiles
)
endforeach
foreach name : apparmor_gen_abstractions
configure_file(
input: '@0@.in'.format(name),
output: name,
command: apparmor_gen_cmd,
capture: true,
install: true,
install_dir: apparmor_dir / 'abstractions',
)
endforeach
install_data(
[ 'libvirt-qemu', 'libvirt-lxc' ],
install_dir: apparmor_dir / 'abstractions',
)
install_data(
[ 'TEMPLATE.qemu', 'TEMPLATE.lxc' ],