pcp/0008-SUSE-fy-pmsnap-control-path.patch
David Disseldorp c6102bc9d9 Accepting request 287414 from home:kwk:branches:Base:System
- Update to 3.10.2
  See http://git.pcp.io/cgi-bin/gitweb.cgi?p=pcp/pcp.git;a=blob_plain;f=CHANGELOG;hb=HEAD
  for details
- new patches
  0007-Honor-CFLAGS-in-qmake.patch
  0008-SUSE-fy-pmsnap-control-path.patch
  0009-pmsnap-control-var-www-srv-www.patch 
- renamed patches
  create-pmlogger-and-pmie-logdirs-during-install.patch
  to 0006-create-pmlogger-and-pmie-logdirs-during-install.patch
- Update to 3.10.1
  See http://git.pcp.io/cgi-bin/gitweb.cgi?p=pcp/pcp.git;a=blob_plain;f=CHANGELOG;hb=HEAD
  for details
- new sub-packages
  * pcp-doc
  * pcp-gui
  * python3-pcp
  * python-pcp
  * pmda-infiniband
  * pmda-perfevent
  * pmda-papi
  * import-collectl2pcp
- drop fix_pmie_pmlogger_startup_races.patch, upstream
  drop pcp-3.6.10-gcc5-reservedword.patch, obsolete

OBS-URL: https://build.opensuse.org/request/show/287414
OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=37
2015-02-24 09:27:55 +00:00

35 lines
921 B
Diff

From e47109751682efd28989b6a4012cdbd032e0c9fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Mon, 23 Feb 2015 16:52:38 +0100
Subject: [PATCH 8/9] SUSE-fy pmsnap control path
---
src/pmsnap/pmsnap.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pmsnap/pmsnap.sh b/src/pmsnap/pmsnap.sh
index 87434a5fbfb9..92be253313ea 100755
--- a/src/pmsnap/pmsnap.sh
+++ b/src/pmsnap/pmsnap.sh
@@ -26,7 +26,7 @@ prog=`basename $0`
LOCALHOST=`pmhostname`
CONFIGDIR=$PCP_VAR_DIR/config/pmsnap
-CONTROL=$CONFIGDIR/control
+CONTROL=/etc/pcp/pmsnap/control
[ -z "$PCP_PMSNAPCONTROL_PATH" ] || CONTROL="$PCP_PMSNAPCONTROL_PATH"
_usage()
@@ -179,7 +179,7 @@ then
fi
commonargs="$commonargs $@"
-CONTROL=$CONFIGDIR/control
+CONTROL=/etc/pcp/pmsnap/control
if [ ! -f "$CONTROL" ]
then
echo "$prog: Error: cannot find control file \"$CONTROL\""
--
2.1.4