summaryrefslogtreecommitdiffstats
path: root/system
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 /system
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 'system')
-rw-r--r--system/.install-type1
-rw-r--r--system/Makefile.am4
2 files changed, 5 insertions, 0 deletions
diff --git a/system/.install-type b/system/.install-type
new file mode 100644
index 0000000000..ebac7be598
--- /dev/null
+++ b/system/.install-type
@@ -0,0 +1 @@
+INSTALL_TYPE='custom'
diff --git a/system/Makefile.am b/system/Makefile.am
index 5323738c95..a88ccab654 100644
--- a/system/Makefile.am
+++ b/system/Makefile.am
@@ -23,6 +23,10 @@ dist_config_SCRIPTS = \
edit-config \
$(NULL)
+dist_config_DATA = \
+ .install-type \
+ $(NULL)
+
# Explicitly install directories to avoid permission issues due to umask
install-exec-local:
$(INSTALL) -d $(DESTDIR)$(configdir)