package/apparmor: fix permission bits for apparmor.service
authorStefan Agner <stefan@agner.ch>
Thu, 12 Nov 2020 20:21:34 +0000 (21:21 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 12 Nov 2020 20:56:58 +0000 (21:56 +0100)
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 <stefan@agner.ch>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/apparmor/apparmor.mk

index 4d08b0433bc573f3c068dddbb3601e436c03cf63..7ea0fabd919ab99a979420ad1d2a38d4341bdf88 100644 (file)
@@ -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