summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-11-16 15:16:02 -0500
committerGitHub <noreply@github.com>2021-11-16 15:16:02 -0500
commit0c3faae9d9b38190b2b82ad824a63cc6bd9a9748 (patch)
tree08bcbd5fbbd97b13ef3a6541689e6cc21c556bb7 /packaging
parent60a2afc13994e3bce41aa44b42a3f770f45a5bba (diff)
Fix the new static archive verification job. (#11792)
* Fix the new static archive verification job. We should be running the script non-interactively. * Fix install type handling ins static installer.
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/installer/kickstart-static64.sh4
-rw-r--r--packaging/installer/methods/kickstart-64.md2
2 files changed, 4 insertions, 2 deletions
diff --git a/packaging/installer/kickstart-static64.sh b/packaging/installer/kickstart-static64.sh
index 3ccaaa63e7..ec1800a617 100755
--- a/packaging/installer/kickstart-static64.sh
+++ b/packaging/installer/kickstart-static64.sh
@@ -211,10 +211,12 @@ mark_install_type() {
if [ -f "${install_type_file}" ]; then
# shellcheck disable=SC1090
. "${install_type_file}"
- cat > "${install_type_file}" <<- EOF
+ cat > "${TMPDIR}/install-type" <<- EOF
INSTALL_TYPE='kickstart-static'
PREBUILT_ARCH='${PREBUILT_ARCH}'
EOF
+ ${sudo} chown netdata:netdata "${TMPDIR}/install-type"
+ ${sudo} cp "${TMPDIR}/install-type" "${install_type_file}"
fi
}
diff --git a/packaging/installer/methods/kickstart-64.md b/packaging/installer/methods/kickstart-64.md
index 678b1a4b70..176d63ad4e 100644
--- a/packaging/installer/methods/kickstart-64.md
+++ b/packaging/installer/methods/kickstart-64.md
@@ -97,7 +97,7 @@ To use `md5sum` to verify the integrity of the `kickstart-static64.sh` script yo
command above, run the following:
```bash
-[ "5a55053b11cb1aedbe362daaa3fc3b1b" = "$(curl -Ss https://my-netdata.io/kickstart-static64.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
+[ "78461a3055aee03011a577a716e2dee5" = "$(curl -Ss https://my-netdata.io/kickstart-static64.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
```
If the script is valid, this command will return `OK, VALID`.