summaryrefslogtreecommitdiff
path: root/meta-security/recipes-mac/AppArmor/apparmor_3.0.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-security/recipes-mac/AppArmor/apparmor_3.0.4.bb')
-rw-r--r--meta-security/recipes-mac/AppArmor/apparmor_3.0.4.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-security/recipes-mac/AppArmor/apparmor_3.0.4.bb b/meta-security/recipes-mac/AppArmor/apparmor_3.0.4.bb
index 046a3a0915..896abfe178 100644
--- a/meta-security/recipes-mac/AppArmor/apparmor_3.0.4.bb
+++ b/meta-security/recipes-mac/AppArmor/apparmor_3.0.4.bb
@@ -101,6 +101,8 @@ do_install () {
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
oe_runmake -C ${B}/parser DESTDIR="${D}" install-systemd
fi
+ chown root:root -R ${D}/${sysconfdir}/apparmor.d
+ chown root:root -R ${D}/${datadir}/apparmor
}
#Building ptest on arm fails.