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>
This commit is contained in:
Jan Luebbe
2020-03-27 13:12:52 +01:00
committed by Armin Kuster
parent 98a6664408
commit e45b54998c

View File

@@ -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
}