From: Stefan Agner Date: Thu, 12 Nov 2020 20:21:34 +0000 (+0100) Subject: package/apparmor: fix permission bits for apparmor.service X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a325eefc1b1e0be4848fc67265c7395abdf08945;p=buildroot.git 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 --- 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