4c9c407f67
- Upgrade to 4.1.1 - renamed patches 0002-Install-libraries-without-exec-permission.patch to 0001-Install-libraries-without-exec-permission.patch 0005-Remove-runlevel-4-from-init-scripts.patch to 0003-Remove-runlevel-4-from-init-scripts.patch 0006-create-pmlogger-and-pmie-logdirs-during-install.patch to 0004-create-pmlogger-and-pmie-logdirs-during-install.patch 0008-SUSE-fy-pmsnap-control-path.patch to 0005-SUSE-fy-pmsnap-control-path.patch 0009-pmsnap-control-var-www-srv-www.patch to 0006-pmsnap-control-var-www-srv-www.patch - obsolete (upstream) sysmacros.patch 0003-pcp-legacy-init-lsb.patch 0007-Honor-CFLAGS-in-qmake.patch - new 0002-Remove-CPAN-rpaths.patch 0003-pcp-legacy-init-lsb.patch 0007-Honor-CFLAGS-in-qmake.patch OBS-URL: https://build.opensuse.org/request/show/634471 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=63
40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
From 2579ef49525c6de11b2ee543196d1719928b38ff Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
|
|
Date: Fri, 12 Dec 2014 15:46:47 +0100
|
|
Subject: [PATCH 4/6] create pmlogger and pmie logdirs during install
|
|
|
|
---
|
|
src/pmie/GNUmakefile | 2 ++
|
|
src/pmlogger/GNUmakefile | 2 ++
|
|
2 files changed, 4 insertions(+)
|
|
|
|
diff --git a/src/pmie/GNUmakefile b/src/pmie/GNUmakefile
|
|
index 6c4eb0edb0c8..e27f2968dace 100644
|
|
--- a/src/pmie/GNUmakefile
|
|
+++ b/src/pmie/GNUmakefile
|
|
@@ -58,6 +58,8 @@ ifeq ($(TARGET_OS),linux)
|
|
# Docker version of the crontab into the hosts /etc/cron.d directory.
|
|
$(INSTALL) -m 644 crontab.docker $(PCP_VAR_DIR)/config/pmie/crontab.docker
|
|
$(INSTALL) -m 755 -d `dirname $(CRONTAB_PATH)`
|
|
+ $(INSTALL) -m 755 -d $(PCP_LOG_DIR)/pmie
|
|
+ $(INSTALL) -m 1777 -d $(PCP_TMP_DIR)/pmie
|
|
endif
|
|
$(INSTALL) -m 644 crontab $(CRONTAB_PATH)
|
|
|
|
diff --git a/src/pmlogger/GNUmakefile b/src/pmlogger/GNUmakefile
|
|
index 572b4af832fd..75af514d55a4 100644
|
|
--- a/src/pmlogger/GNUmakefile
|
|
+++ b/src/pmlogger/GNUmakefile
|
|
@@ -65,6 +65,8 @@ ifeq ($(TARGET_OS),linux)
|
|
# Docker version of the crontab into the hosts cron.d directory.
|
|
$(INSTALL) -m 644 crontab.docker $(PCP_VAR_DIR)/config/pmlogger/crontab.docker
|
|
$(INSTALL) -m 755 -d `dirname $(CRONTAB_PATH)`
|
|
+ $(INSTALL) -m 755 -d $(PCP_LOG_DIR)/pmlogger
|
|
+ $(INSTALL) -m 1777 -d $(PCP_TMP_DIR)/pmlogger
|
|
endif
|
|
$(INSTALL) -m 644 crontab $(CRONTAB_PATH)
|
|
$(INSTALL) -m 644 utilproc.sh $(PCP_SHARE_DIR)/lib/utilproc.sh
|
|
--
|
|
2.18.0
|
|
|