nixpkgs/pkgs/tools/system/netdata/no-files-in-etc-and-var.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

129 lines
4.3 KiB
Diff
Raw Normal View History

diff --git c/collectors/Makefile.am i/collectors/Makefile.am
index 1bbb2e0ef..96c400d33 100644
--- c/collectors/Makefile.am
+++ i/collectors/Makefile.am
@@ -33,7 +33,7 @@ usercustompluginsconfigdir=$(configdir)/custom-plugins.d
2019-12-07 21:04:30 +00:00
usergoconfigdir=$(configdir)/go.d
2020-02-22 07:45:50 +00:00
# Explicitly install directories to avoid permission issues due to umask
2019-12-07 21:04:30 +00:00
-install-exec-local:
2020-02-22 07:45:50 +00:00
+no-install-exec-local:
$(INSTALL) -d $(DESTDIR)$(usercustompluginsconfigdir)
$(INSTALL) -d $(DESTDIR)$(usergoconfigdir)
diff --git c/collectors/charts.d.plugin/Makefile.am i/collectors/charts.d.plugin/Makefile.am
index f82992fd4..4cac1ae4f 100644
--- c/collectors/charts.d.plugin/Makefile.am
+++ i/collectors/charts.d.plugin/Makefile.am
2020-02-22 07:45:50 +00:00
@@ -34,7 +34,7 @@ dist_userchartsconfig_DATA = \
$(NULL)
2020-02-22 07:45:50 +00:00
# Explicitly install directories to avoid permission issues due to umask
2019-12-07 21:04:30 +00:00
-install-exec-local:
2020-02-22 07:45:50 +00:00
+no-install-exec-local:
$(INSTALL) -d $(DESTDIR)$(userchartsconfigdir)
chartsconfigdir=$(libconfigdir)/charts.d
diff --git c/collectors/ebpf.plugin/Makefile.am i/collectors/ebpf.plugin/Makefile.am
2022-01-07 21:36:49 +00:00
index 2d5f92a6b..8b11c7502 100644
--- c/collectors/ebpf.plugin/Makefile.am
+++ i/collectors/ebpf.plugin/Makefile.am
2022-01-07 21:36:49 +00:00
@@ -9,7 +9,7 @@ SUFFIXES = .in
2021-05-04 17:15:53 +00:00
userebpfconfigdir=$(configdir)/ebpf.d
# Explicitly install directories to avoid permission issues due to umask
-install-exec-local:
+no-install-exec-local:
$(INSTALL) -d $(DESTDIR)$(userebpfconfigdir)
2022-01-07 21:36:49 +00:00
dist_noinst_DATA = \
diff --git c/collectors/python.d.plugin/Makefile.am i/collectors/python.d.plugin/Makefile.am
index ca49c1c02..1b9bcc446 100644
--- c/collectors/python.d.plugin/Makefile.am
+++ i/collectors/python.d.plugin/Makefile.am
2020-02-22 07:45:50 +00:00
@@ -32,7 +32,7 @@ dist_userpythonconfig_DATA = \
$(NULL)
2020-02-22 07:45:50 +00:00
# Explicitly install directories to avoid permission issues due to umask
2019-12-07 21:04:30 +00:00
-install-exec-local:
2020-02-22 07:45:50 +00:00
+no-install-exec-local:
$(INSTALL) -d $(DESTDIR)$(userpythonconfigdir)
pythonconfigdir=$(libconfigdir)/python.d
diff --git c/collectors/statsd.plugin/Makefile.am i/collectors/statsd.plugin/Makefile.am
2022-06-18 20:21:18 +00:00
index c8144c137..f8aaa89b6 100644
--- c/collectors/statsd.plugin/Makefile.am
+++ i/collectors/statsd.plugin/Makefile.am
2022-06-18 20:21:18 +00:00
@@ -19,5 +19,5 @@ dist_userstatsdconfig_DATA = \
$(NULL)
2020-02-22 07:45:50 +00:00
# Explicitly install directories to avoid permission issues due to umask
2019-12-07 21:04:30 +00:00
-install-exec-local:
2020-02-22 07:45:50 +00:00
+no-install-exec-local:
$(INSTALL) -d $(DESTDIR)$(userstatsdconfigdir)
diff --git c/health/Makefile.am i/health/Makefile.am
index 7d7bca4cc..3086876dd 100644
--- c/health/Makefile.am
+++ i/health/Makefile.am
2020-02-22 07:45:50 +00:00
@@ -19,7 +19,7 @@ dist_userhealthconfig_DATA = \
$(NULL)
2020-02-22 07:45:50 +00:00
# Explicitly install directories to avoid permission issues due to umask
2019-12-07 21:04:30 +00:00
-install-exec-local:
2020-02-22 07:45:50 +00:00
+no-install-exec-local:
$(INSTALL) -d $(DESTDIR)$(userhealthconfigdir)
healthconfigdir=$(libconfigdir)/health.d
diff --git c/logsmanagement/Makefile.am i/logsmanagement/Makefile.am
index 33f08d556..1f08cbae9 100644
--- c/logsmanagement/Makefile.am
+++ i/logsmanagement/Makefile.am
@@ -6,7 +6,7 @@ MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
userlogsmanagconfigdir=$(configdir)/logsmanagement.d
# Explicitly install directories to avoid permission issues due to umask
-install-exec-local:
+no-install-exec-local:
$(INSTALL) -d $(DESTDIR)$(userlogsmanagconfigdir)
dist_libconfig_DATA = \
diff --git c/system/Makefile.am i/system/Makefile.am
index 1e96f6f4f..98122ecdc 100644
--- c/system/Makefile.am
+++ i/system/Makefile.am
@@ -22,12 +22,9 @@ include $(top_srcdir)/build/subst.inc
SUFFIXES = .in
2020-02-22 07:45:50 +00:00
dist_config_SCRIPTS = \
- edit-config \
2020-02-22 07:45:50 +00:00
$(NULL)
2022-01-07 21:36:49 +00:00
dist_config_DATA = \
- .install-type \
- netdata-updater.conf \
2022-01-07 21:36:49 +00:00
$(NULL)
libconfigvnodesdir=$(libconfigdir)/vnodes
@@ -47,7 +44,7 @@ libsysrunitdir=$(libsysdir)/runit
libsyssystemddir=$(libsysdir)/systemd
2020-02-22 07:45:50 +00:00
# Explicitly install directories to avoid permission issues due to umask
2019-12-07 21:04:30 +00:00
-install-exec-local:
2020-02-22 07:45:50 +00:00
+no-install-exec-local:
$(INSTALL) -d $(DESTDIR)$(configdir)
$(INSTALL) -d $(DESTDIR)$(libsysdir)
$(INSTALL) -d $(DESTDIR)$(libsyscrondir)
diff --git c/web/Makefile.am i/web/Makefile.am
index be2c545c3..55f373114 100644
--- c/web/Makefile.am
+++ i/web/Makefile.am
@@ -13,7 +13,7 @@ SUBDIRS = \
2019-12-07 21:04:30 +00:00
usersslconfigdir=$(configdir)/ssl
2020-02-22 07:45:50 +00:00
# Explicitly install directories to avoid permission issues due to umask
2019-12-07 21:04:30 +00:00
-install-exec-local:
2020-02-22 07:45:50 +00:00
+no-install-exec-local:
$(INSTALL) -d $(DESTDIR)$(usersslconfigdir)
2019-12-07 21:04:30 +00:00
dist_noinst_DATA = \