Skip to contentSkip to conversation

apparmor: fix ownership issues

PATCH New Armin Kuster 1 participant 1 message Jun 8, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apparmor: fix ownership issues

---
 recipes-mac/AppArmor/apparmor_3.0.4.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-mac/AppArmor/apparmor_3.0.4.bb +2 -0
index 046a3a0..896abfe 100644
@@ -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.
Signature · 1 line
2.25.1