aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2018-11-23 11:39:30 +0000
committerSean Young <sean@mess.org>2018-11-23 11:49:51 +0000
commit6155b042ee7541944173b1947ddbc038a2f544bf (patch)
treea83f07fb431f2bf2c37aa06687e2d238bece82c4
parentf3d77d6df975b6fb8fbf9f9f8fe2c4a809136b86 (diff)
keytable: do not install bpf protocols decoders with execute permission
The rpm packaging system will try to extract debug information, which fails since there is no build id. This can be avoided by removing the execute permission. BPF relocatable files are executable anyway so this is the right thing to do. See: https://github.com/rpm-software-management/rpm/pull/604 Signed-off-by: Sean Young <sean@mess.org>
-rw-r--r--utils/keytable/bpf_protocols/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/keytable/bpf_protocols/Makefile.am b/utils/keytable/bpf_protocols/Makefile.am
index 1b90411b..d1f04cb4 100644
--- a/utils/keytable/bpf_protocols/Makefile.am
+++ b/utils/keytable/bpf_protocols/Makefile.am
@@ -21,4 +21,4 @@ EXTRA_DIST = $(PROTOCOLS:%.o=%.c) bpf_helpers.h
install-data-local:
$(install_sh) -d "$(DESTDIR)$(keytableuserdir)/protocols"
$(install_sh) -d "$(DESTDIR)$(keytablesystemdir)/protocols"
- $(install_sh) $(PROTOCOLS) "$(DESTDIR)$(keytablesystemdir)/protocols"
+ $(install_sh) -m 0644 $(PROTOCOLS) "$(DESTDIR)$(keytablesystemdir)/protocols"

Privacy Policy