aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Stefan Agner <stefan@agner.ch>2020-11-12 21:21:34 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-11-14 14:13:48 +0100
commite1f9bb026ae2f8e20a4f91dde98d016c25554d55 (patch)
tree4586bdf5d1bcbd720e93a5f827fb2a6effd58dac
parenta173f9d586b2994b2911abd8178205732ff102b4 (diff)
downloadbuildroot-e1f9bb026ae2f8e20a4f91dde98d016c25554d55.tar.gz
buildroot-e1f9bb026ae2f8e20a4f91dde98d016c25554d55.tar.bz2
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 <stefan@agner.ch> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit a325eefc1b1e0be4848fc67265c7395abdf08945) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/apparmor/apparmor.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/apparmor/apparmor.mk b/package/apparmor/apparmor.mk
index 51820999eb..0044413d6c 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