Skip to contentSkip to conversation

apparmor: fix wrong executable permission on service file

PATCH New Jan Luebbe 1 participant 2 messages Mar 27, 2020

lore
Share & tools
lore

Jan Luebbe

author
#0 lore raw

PATCH 1/2 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.

---
 recipes-mac/AppArmor/apparmor_2.13.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-mac/AppArmor/apparmor_2.13.3.bb +1 -1
index 0c62a4daf172..3398a3a75baa 100644
@@ -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
 }
 
Signature · 1 line
2.26.0.rc2
author
#1 lore raw

PATCH 2/2 apparmor: update to 2.13.4

---
 recipes-mac/AppArmor/{apparmor_2.13.3.bb => apparmor_2.13.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename recipes-mac/AppArmor/{apparmor_2.13.3.bb => apparmor_2.13.4.bb} (99%)
recipes-mac/AppArmor/apparmor_2.13.4.bb renamed from recipes-mac/AppArmor/apparmor_2.13.3.bb +1 -1
similarity index 99%
rename from recipes-mac/AppArmor/apparmor_2.13.3.bb
rename to recipes-mac/AppArmor/apparmor_2.13.4.bb
index 3398a3a75baa..f8fd19eb9e00 100644
@@ -25,7 +25,7 @@ SRC_URI = " \
 	file://run-ptest \
 	"
 
-SRCREV = "2f9d9ea7e01a115b29858455d3b1b5c6a0bab75c"
+SRCREV = "df0ac742f7a1146181d8734d03334494f2015134"
 S = "${WORKDIR}/git"
 
 PARALLEL_MAKE = ""
Signature · 1 line
2.26.0.rc2