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

130 lines
4.3 KiB
Diff
Raw Normal View History

2020-02-22 07:45:50 +00:00
From 4ecc1475be94a384c122594b5f7d455beb64a2f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
Date: Sat, 22 Feb 2020 06:42:14 +0000
Subject: [PATCH] no files in etc and var
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
---
collectors/Makefile.am | 2 +-
collectors/charts.d.plugin/Makefile.am | 2 +-
collectors/node.d.plugin/Makefile.am | 2 +-
collectors/python.d.plugin/Makefile.am | 2 +-
collectors/statsd.plugin/Makefile.am | 2 +-
health/Makefile.am | 2 +-
system/Makefile.am | 3 +--
web/Makefile.am | 2 +-
8 files changed, 8 insertions(+), 9 deletions(-)
2019-12-07 21:04:30 +00:00
diff --git a/collectors/Makefile.am b/collectors/Makefile.am
2020-02-22 07:45:50 +00:00
index 9bb52958..c9799165 100644
2019-12-07 21:04:30 +00:00
--- a/collectors/Makefile.am
+++ b/collectors/Makefile.am
2020-02-22 07:45:50 +00:00
@@ -32,7 +32,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)
2019-06-26 17:38:01 +00:00
diff --git a/collectors/charts.d.plugin/Makefile.am b/collectors/charts.d.plugin/Makefile.am
2020-02-22 07:45:50 +00:00
index 03c7f0a9..01985db0 100644
2019-06-26 17:38:01 +00:00
--- a/collectors/charts.d.plugin/Makefile.am
+++ b/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
2019-06-26 17:38:01 +00:00
diff --git a/collectors/node.d.plugin/Makefile.am b/collectors/node.d.plugin/Makefile.am
2020-02-22 07:45:50 +00:00
index c3142d43..95e32445 100644
2019-06-26 17:38:01 +00:00
--- a/collectors/node.d.plugin/Makefile.am
+++ b/collectors/node.d.plugin/Makefile.am
2020-02-22 07:45:50 +00:00
@@ -26,7 +26,7 @@ dist_usernodeconfig_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)$(usernodeconfigdir)
nodeconfigdir=$(libconfigdir)/node.d
2019-06-26 17:38:01 +00:00
diff --git a/collectors/python.d.plugin/Makefile.am b/collectors/python.d.plugin/Makefile.am
2020-02-22 07:45:50 +00:00
index e678f86a..29a319da 100644
2019-06-26 17:38:01 +00:00
--- a/collectors/python.d.plugin/Makefile.am
+++ b/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
2019-06-26 17:38:01 +00:00
diff --git a/collectors/statsd.plugin/Makefile.am b/collectors/statsd.plugin/Makefile.am
2020-02-22 07:45:50 +00:00
index b01302d1..f5b77da4 100644
2019-06-26 17:38:01 +00:00
--- a/collectors/statsd.plugin/Makefile.am
+++ b/collectors/statsd.plugin/Makefile.am
2020-02-22 07:45:50 +00:00
@@ -17,5 +17,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)
2019-06-26 17:38:01 +00:00
diff --git a/health/Makefile.am b/health/Makefile.am
2020-02-22 07:45:50 +00:00
index 853ed0d7..210330a6 100644
2019-06-26 17:38:01 +00:00
--- a/health/Makefile.am
+++ b/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
2019-06-26 17:38:01 +00:00
diff --git a/system/Makefile.am b/system/Makefile.am
2020-02-22 07:45:50 +00:00
index ad68c655..74f032f9 100644
2019-06-26 17:38:01 +00:00
--- a/system/Makefile.am
+++ b/system/Makefile.am
2020-02-22 07:45:50 +00:00
@@ -17,11 +17,10 @@ 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)
# 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)
nodist_noinst_DATA = \
2019-12-07 21:04:30 +00:00
diff --git a/web/Makefile.am b/web/Makefile.am
2020-02-22 07:45:50 +00:00
index ccaccd76..16a2977e 100644
2019-12-07 21:04:30 +00:00
--- a/web/Makefile.am
+++ b/web/Makefile.am
2020-02-22 07:45:50 +00:00
@@ -12,7 +12,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 = \
2020-02-22 07:45:50 +00:00
--
2.25.0