diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2024-04-25 09:21:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 09:21:03 +0300 |
commit | 9b3b4816c16fd2359d61dbdfa12366e8b294e135 (patch) | |
tree | a0e45a7fa4766becb5a3bd7380ae44686969a52a /contrib | |
parent | 0388cb719ea3c881ad6da0c93fe6ff95d1fded3c (diff) |
Move handling of legacy eBPF programs into CMake. (#17512)
* Move handling of legacy eBPF programs into CMake.
* Fix typos.
* Fix more typos
* Fix up packaging code.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/debian/rules | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/contrib/debian/rules b/contrib/debian/rules index f27b623ab8..0f35bebbff 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -148,6 +148,8 @@ override_dh_install: mv -f $(TEMPTOP)/usr/libexec/netdata/plugins.d/ebpf.plugin $(TOP)-plugin-ebpf/usr/libexec/netdata/plugins.d/ebpf.plugin; \ mv -f $(TEMPTOP)/usr/lib/netdata/conf.d/ebpf.d.conf $(TOP)-plugin-ebpf/usr/lib/netdata/conf.d/ebpf.d.conf; \ mv -f $(TEMPTOP)/usr/lib/netdata/conf.d/ebpf.d $(TOP)-plugin-ebpf/usr/lib/netdata/conf.d/ebpf.d; \ + mkdir -p $(TOP)-ebpf-code-legacy/usr/libexec/netdata/plugins.d/; \ + mv -f $(TEMPTOP)/usr/libexec/netdata/plugins.d/ebpf.d $(TOP)-ebpf-code-legacy/usr/libexec/netdata/plugins.d/ebpf.d; \ fi # Add python plugin install rules @@ -236,13 +238,6 @@ override_dh_install: # cp -v packaging/installer/netdata-updater.sh $(TOP)/usr/libexec/netdata/netdata-updater.sh - # Handle eBPF code - # - if [ $(HAVE_EBPF) -eq 1 ]; then \ - mkdir -p $(TOP)-ebpf-code-legacy/usr/libexec/netdata/plugins.d/; \ - packaging/bundle-ebpf.sh . ${TOP}-ebpf-code-legacy/usr/libexec/netdata/plugins.d/ force; \ - fi - override_dh_installdocs: dh_installdocs |