dh_apparmor
reload AppArmor profile and create local include
Synopsis
dh_apparmor
--profile-name=profilename
add an example, a script, a trick and tips
examples
source
override_dh_installinit:
dh_apparmor -psssd --profile-name=usr.sbin.sssd
dh_installinit --error-handler=invoke_failure
description
dh_apparmor is
a debhelper program that will create/remove the
/etc/apparmor.d/local/<profilename> include file in
maintainer scripts. It also reloads the specified AppArmor
profile in postinst using:
apparmor_parser
-r -W -T
/etc/apparmor.d/<profilename>
By using
’-W -T’ we ensure that any
abstraction updates are also pulled in.
options
--profile-name=<profilename>
Specify the profile name.
notes
Note that for packages that have multiple binary packages, you
will want to pass ’-p<package name>’ to dh_apparmor,
otherwise dh_apparmor will add AppArmor reload commands for all
packages rather than just the one that ships the profile.
see also
debhelper
This program is
a part of debhelper.
author
Jamie
Strandboge <jamie[:at:]canonical[:dot:]com>