summaryrefslogtreecommitdiffstats
path: root/packaging/makeself/jobs
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-05-24 07:34:09 -0400
committerGitHub <noreply@github.com>2021-05-24 07:34:09 -0400
commit295d407fb01339a7eb38b5ffa9ccf85d8d57d10c (patch)
tree48fbc2f786a059615d9a3c5b61d195a9404bf285 /packaging/makeself/jobs
parent0cc48515b5c5bb8a5f8f6ca132213b18688c06fb (diff)
Store info about the installation type for later retrieval. (#11157)
* Store info about the installation type for later retrieval. * Properly handle install type on updates. * Restructure install type values for easier parsing. * Fix checksums. * Fix .gitignore check.
Diffstat (limited to 'packaging/makeself/jobs')
-rwxr-xr-xpackaging/makeself/jobs/70-netdata-git.install.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/makeself/jobs/70-netdata-git.install.sh b/packaging/makeself/jobs/70-netdata-git.install.sh
index 21d4fd0ac3..11608a4e4d 100755
--- a/packaging/makeself/jobs/70-netdata-git.install.sh
+++ b/packaging/makeself/jobs/70-netdata-git.install.sh
@@ -33,6 +33,12 @@ run ./netdata-installer.sh \
--require-cloud \
--dont-scrub-cflags-even-though-it-may-break-things
+# Properly mark the install type
+cat > "${NETDATA_INSTALL_PATH}/etc/netdata/.install-type" <<-EOF
+ INSTALL_TYPE='manual-static'
+ PREBUILT_ARCH='$(uname -m)'
+ EOF
+
# Remove the netdata.conf file from the tree. It has hard-coded sensible defaults builtin.
run rm -f "${NETDATA_INSTALL_PATH}/etc/netdata/netdata.conf"