Fix missing ebpf packaging files from dist archive (#9182)
* Install/Bundle the eBPF kernel-collector library / eBPF programs anyway even if the Kernel check fails (just warn the user) * Fix missing check-kernel-config.sh from dist (breaking kickstart.sh installs) * Add missing packaging/ebpf.version and packaging/ebpf.cehcksums to dist source archive
James Mills committed
May 27, 2020 at 18:04 UTC
fc46d58ed4b19330b3651d1f54260c69290d7363
3 files changed
+5
-4
Makefile.am
+3
@@ -72,6 +72,9 @@ dist_noinst_DATA = \
72
packaging/mosquitto.checksums \
73
packaging/bundle-dashboard.sh \
74
packaging/bundle-mosquitto.sh \
75
+ packaging/check-kernel-config.sh \
76
+ packaging/ebpf.checksums \
77
+ packaging/ebpf.version \
78
packaging/bundle-lws.sh \
79
packaging/installer/README.md \
80
packaging/installer/UNINSTALL.md \
netdata-installer.sh
+2
-4
@@ -1321,10 +1321,8 @@ should_install_ebpf() {
1321
fi
1322
1323
# Check Kernel Config
1324
- if ! run "${INSTALLER_DIR}"/packaging/installer/check-kernel-config.sh; then
1325
- run_failed "Kernel unsupported or missing required config"
1326
- defer_error "Kernel unsupported or missing required config, not installing eBPF collector"
1327
- return 1
1324
+ if ! run "${INSTALLER_DIR}"/packaging/check-kernel-config.sh; then
1325
+ echo >&2 "Warning: Kernel unsupported or missing required config (eBPF may not work on your system)"
1326
fi
1327
1328
return 0