summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2022-12-07 11:03:22 -0500
committerGitHub <noreply@github.com>2022-12-07 11:03:22 -0500
commitf198f3f383f742b185f0782fe7570bc816fe87a0 (patch)
treefcde84714aeb36029d61460bdb58e48e3c5adb4c
parent6a232de18b37c725143b5558c65c7ca7393b57aa (diff)
Remove deprecated methods for passing additional options to install code. (#12943)
-rwxr-xr-xpackaging/installer/kickstart.sh11
1 files changed, 3 insertions, 8 deletions
diff --git a/packaging/installer/kickstart.sh b/packaging/installer/kickstart.sh
index 295fcdca00..317496cc93 100755
--- a/packaging/installer/kickstart.sh
+++ b/packaging/installer/kickstart.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
-# Next unused error code: F050D
+# Next unused error code: F050F
# ======================================================================
# Constants
@@ -46,6 +46,7 @@ NETDATA_CLAIM_ONLY=0
NETDATA_CLAIM_URL="api.netdata.cloud"
NETDATA_COMMAND="default"
NETDATA_DISABLE_CLOUD=0
+NETDATA_INSTALLER_OPTIONS=""
NETDATA_ONLY_BUILD=0
NETDATA_ONLY_NATIVE=0
NETDATA_ONLY_STATIC=0
@@ -63,7 +64,6 @@ else
fi
NETDATA_TARBALL_BASEURL="${NETDATA_TARBALL_BASEURL:-https://storage.googleapis.com/netdata-nightlies}"
-NETDATA_INSTALLER_OPTIONS="${NETDATA_INSTALLER_OPTIONS:-""}"
TELEMETRY_API_KEY="${NETDATA_POSTHOG_API_KEY:-mqkwGT0JNFqO-zX2t0mW6Tec9yooaVu7xCBlXtHnt5Y}"
if echo "${0}" | grep -q 'kickstart-static64'; then
@@ -2088,10 +2088,6 @@ validate_args() {
}
parse_args() {
- if [ -n "${NETDATA_INSTALLER_OPTIONS}" ]; then
- warning "Explicitly specifying additional installer options with NETDATA_INSTALLER_OPTIONS is deprecated. Please instead pass the options to the script using either --local-build-options or --static-install-options as appropriate."
- fi
-
while [ -n "${1}" ]; do
case "${1}" in
"--help")
@@ -2249,8 +2245,7 @@ parse_args() {
fi
;;
*)
- warning "Passing unrecognized option '${1}' to installer script. This behavior is deprecated and will be removed in the near future. If you intended to pass this option to the installer code, please use either --local-build-options or --static-install-options to specify it instead."
- NETDATA_INSTALLER_OPTIONS="${NETDATA_INSTALLER_OPTIONS} ${1}"
+ fatal "Unrecognized option '${1}'. If you intended to pass this option to the installer code, please use either --local-build-options or --static-install-options to specify it instead." F050E
;;
esac
shift 1