From fc46d58ed4b19330b3651d1f54260c69290d7363 Mon Sep 17 00:00:00 2001 From: James Mills Date: Wed, 27 May 2020 18:04:18 +1000 Subject: 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 --- netdata-installer.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'netdata-installer.sh') diff --git a/netdata-installer.sh b/netdata-installer.sh index eb293ae620..780af5a41c 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -1321,10 +1321,8 @@ should_install_ebpf() { fi # Check Kernel Config - if ! run "${INSTALLER_DIR}"/packaging/installer/check-kernel-config.sh; then - run_failed "Kernel unsupported or missing required config" - defer_error "Kernel unsupported or missing required config, not installing eBPF collector" - return 1 + if ! run "${INSTALLER_DIR}"/packaging/check-kernel-config.sh; then + echo >&2 "Warning: Kernel unsupported or missing required config (eBPF may not work on your system)" fi return 0 -- cgit v1.2.3