Add option for netdata-installer to allow compilation only on X86_64 (#11566)
thiagoftsm committed
Sep 23, 2021 at 19:11 UTC
9cede6600d936bd073b071b75b2821d9d4bc13e2
1 file changed
+3
-3
netdata-installer.sh
+3
-3
@@ -1620,9 +1620,9 @@ should_install_ebpf() {
1620
return 1
1621
fi
1622
1623
- if [ "$(uname -s)" != "Linux" ]; then
1624
- run_failed "Currently eBPF is only supported on Linux."
1625
- defer_error "Currently eBPF is only supported on Linux."
1623
+ if [ "$(uname -s)" != "Linux" ] || [ "$(uname -m)" != "x86_64" ]; then
1624
+ run_failed "Currently eBPF is only supported on Linux on X86_64."
1625
+ defer_error "Currently eBPF is only supported on Linux on X86_64."
1626
return 1
1627
fi
1628