Scroll to navigation

DH_APPARMOR(1) Debhelper DH_APPARMOR(1)

NAME

dh_apparmor - reload AppArmor profile and create local include

SYNOPSIS

dh_apparmor --profile-name=profilename

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@canonical.com>
2012-06-28