From e45b54998c836cdd103d8fdd2eab4425ee040ee5 Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Fri, 27 Mar 2020 13:12:52 +0100 Subject: apparmor: fix wrong executable permission on service file 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 Signed-off-by: Armin Kuster --- 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 11c931d..604499d 100644 --- a/recipes-mac/AppArmor/apparmor_2.13.3.bb +++ b/recipes-mac/AppArmor/apparmor_2.13.3.bb @@ -120,7 +120,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 } -- cgit v1.2.3-54-g00ecf