This avoids "systemd[1]: Configuration file
/lib/systemd/system/apparmor.service is marked executable. Please remove
executable permission bits. Proceeding anyway." on boot.

Signed-off-by: Jan Luebbe <[email protected]>
---
 recipes-mac/AppArmor/apparmor_2.13.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-mac/AppArmor/apparmor_2.13.3.bb 
b/recipes-mac/AppArmor/apparmor_2.13.3.bb
index 0c62a4daf172..3398a3a75baa 100644
--- a/recipes-mac/AppArmor/apparmor_2.13.3.bb
+++ b/recipes-mac/AppArmor/apparmor_2.13.3.bb
@@ -119,7 +119,7 @@ do_install () {
 
        if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; 
then
                install -d ${D}${systemd_system_unitdir}
-               install ${WORKDIR}/apparmor.service 
${D}${systemd_system_unitdir}
+               install -m 0644 ${WORKDIR}/apparmor.service 
${D}${systemd_system_unitdir}
        fi
 }
 
-- 
2.26.0.rc2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48951): https://lists.yoctoproject.org/g/yocto/message/48951
Mute This Topic: https://lists.yoctoproject.org/mt/72585661/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to