From a325eefc1b1e0be4848fc67265c7395abdf08945 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 12 Nov 2020 21:21:34 +0100 Subject: [PATCH] package/apparmor: fix permission bits for apparmor.service Avoid setting executable bits for apparmor.service. This gets rid of a corresponding warning during installation: Configuration file ../target/usr/lib/systemd/system/apparmor.service is marked executable. Please remove executable permission bits. Proceeding anyway. Signed-off-by: Stefan Agner Signed-off-by: Peter Korsgaard --- package/apparmor/apparmor.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/apparmor/apparmor.mk b/package/apparmor/apparmor.mk index 4d08b0433b..7ea0fabd91 100644 --- a/package/apparmor/apparmor.mk +++ b/package/apparmor/apparmor.mk @@ -88,7 +88,7 @@ endef define APPARMOR_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 0755 $(@D)/parser/apparmor.systemd \ $(TARGET_DIR)/lib/apparmor/apparmor.systemd - $(INSTALL) -D -m 0755 $(@D)/parser/apparmor.service \ + $(INSTALL) -D -m 0644 $(@D)/parser/apparmor.service \ $(TARGET_DIR)/usr/lib/systemd/system/apparmor.service endef -- 2.30.2