Skip to content
Snippets Groups Projects
Commit 8bcbf97d authored by Guido Günther's avatar Guido Günther
Browse files

Only linux has apparmor

Closes: #747565
parent ea36eb44
No related merge requests found
......@@ -6,7 +6,6 @@ etc/apparmor.d
usr/share/polkit-1
usr/lib/libvirt/libvirt*
usr/lib/libvirt/connection-driver
usr/lib/libvirt/virt-aa-helper
usr/share/augeas/*
usr/share/libvirt/*
usr/share/man/man8/*
......
......@@ -122,6 +122,10 @@ override_dh_auto_configure:
override_dh_auto_install:
dh_auto_install
ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
# Only linux has app-armor
dh_install -p libvirt-bin usr/lib/libvirt/virt-aa-helper
endif
# Add empty dirs so dh_install doesn't fail on kFreebsd until we have
# Polkit/Systemd/systemtap/apparmor support
mkdir -p debian/tmp/usr/share/polkit-1 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment