[Buildroot] [git commit] package/apparmor: fix permission bits for apparmor.service
Peter Korsgaard
peter at korsgaard.com
Thu Nov 12 20:56:58 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=a325eefc1b1e0be4848fc67265c7395abdf08945
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 at agner.ch>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
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
More information about the buildroot
mailing list