summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2021-03-16 12:38:16 +0100
committerGitHub <noreply@github.com>2021-03-16 12:38:16 +0100
commite7e5d0c37242d8457e4b2610a95effe0db5ca1b1 (patch)
tree133ea3a9c7d4d5403cc0e4dd4b43717102efabe1 /netdata-installer.sh
parent2d2f249fd7cac711adc3b3ac204c83905ac631ad (diff)
Adds ACLK-NG as fallback(#10315)
* adds a new implementation of ACLK written almost from scratch * external dependencies only OpenSSL and JSON-C * fallback for systems where ACLK Legacy can't build (for technical or philosophical reasons) * can be forced to build by giving "--aclk-ng" to the installer
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index 92845e9fd5..6ff3c5af04 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -319,6 +319,10 @@ while [ -n "${1}" ]; do
"--disable-go") NETDATA_DISABLE_GO=1 ;;
"--enable-ebpf") NETDATA_DISABLE_EBPF=0 ;;
"--disable-ebpf") NETDATA_DISABLE_EBPF=1 NETDATA_CONFIGURE_OPTIONS="${NETDATA_CONFIGURE_OPTIONS//--disable-ebpf/} --disable-ebpf" ;;
+ "--aclk-ng")
+ NETDATA_ACLK_NG=1
+ NETDATA_CONFIGURE_OPTIONS="${NETDATA_CONFIGURE_OPTIONS//--with-aclk-ng/} --with-aclk-ng"
+ ;;
"--disable-cloud")
if [ -n "${NETDATA_REQUIRE_CLOUD}" ]; then
echo "Cloud explicitly enabled, ignoring --disable-cloud."
@@ -567,8 +571,8 @@ copy_libmosquitto() {
}
bundle_libmosquitto() {
- if [ -n "${NETDATA_DISABLE_CLOUD}" ]; then
- echo "Skipping cloud"
+ if [ -n "${NETDATA_DISABLE_CLOUD}" ] || [ -n "${NETDATA_ACLK_NG}" ]; then
+ echo "Skipping libmosquitto"
return 0
fi
@@ -664,7 +668,7 @@ copy_libwebsockets() {
}
bundle_libwebsockets() {
- if [ -n "${NETDATA_DISABLE_CLOUD}" ] || [ -n "${USE_SYSTEM_LWS}" ]; then
+ if [ -n "${NETDATA_DISABLE_CLOUD}" ] || [ -n "${USE_SYSTEM_LWS}" ] || [ -n "${NETDATA_ACLK_NG}" ]; then
return 0
fi