Skip to content
Snippets Groups Projects
Commit a9f3c57b authored by Andrew Lee (李健秋)'s avatar Andrew Lee (李健秋)
Browse files

Call dh_apparmor in debian/rules


This dh_apparmor is a debhelper program that will generate apparmor
profile reload scripts.

Here we call dh_apparmor in debian/rules to generate apparmor profile
reload script for each profile that ship in the binary packages.

Signed-off-by: default avatarAndrew Lee (李健秋) <andrew.lee@collabora.co.uk>
parent 8b5eb09d
No related branches found
Tags apertis/2024.01+dfsg-1+apertis6
4 merge requests!12Merge changes from apertis/v2019-updates into apertis/v2019,!10Merge apertis updates from Apertis/v2020 updates,!6sync updates from Debian Buster,!1Add dh apparmor support
......@@ -20,6 +20,12 @@ override_dh_install:
rm -f debian/tmp/usr/lib/*/*.la
# fail if anything else is missed
dh_install --fail-missing
dh_apparmor -pdidcot --profile-name=usr.bin.didcot
dh_apparmor -pdidcot-client --profile-name=usr.bin.didcot-client
dh_apparmor -pdidcot-tests \
--profile-name=usr.Applications.org.apertis.DidcotTestHandler
dh_apparmor -pdidcot-tests \
--profile-name=usr.libexec.installed-tests.didcot-0.didcot-test
override_dh_strip:
dh_strip --dbgsym-migration='didcot-dbg (<< 0.1703.0-0co2~)'
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