aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2020-03-27 13:12:52 +0100
committerArmin Kuster <akuster808@gmail.com>2020-04-07 11:49:54 -0700
commite45b54998c836cdd103d8fdd2eab4425ee040ee5 (patch)
treef991861bf0b2744ceff0d4572748c6f16f6ffec5
parent98a6664408f17560549b94f575e058ed84dd6a0d (diff)
downloadmeta-security-e45b54998c836cdd103d8fdd2eab4425ee040ee5.tar.gz
meta-security-e45b54998c836cdd103d8fdd2eab4425ee040ee5.tar.bz2
meta-security-e45b54998c836cdd103d8fdd2eab4425ee040ee5.zip
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 <jlu@pengutronix.de> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-mac/AppArmor/apparmor_2.13.3.bb2
1 files changed, 1 insertions, 1 deletions
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
}