- Upgrade to 5.2.2; (jsc#SLE-16929) + improvements to client tools and utilities + new pmdabpftrace monitoring agent + pmdaperfevent enhancements + pmproxy, libpcp_web and libpcp hardening and improvements + assorted bug fixes + obsolete pcp-manager discovery service, now provided by pmfind + improved FHS compliance - Remove upstreamed: + 0001-Add-missing-includes-in-Qt-5.15-beta2.patch - Rebase against upstream (faeb2507f): + 0001-Install-libraries-without-exec-permission.patch - Fix build with -fno-common; (bsc#1160411) - Merge upstream build-time tmpdir fixes + 0007-pmns-Make-drop-duplicate-if-else.patch + 0008-fixes-for-GH-1140-PCP_TMPFILE_DIR-used-in-build.patch OBS-URL: https://build.opensuse.org/request/show/870679 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=98
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From 7d35e45561eaba184711676f587118ff054d8f14 Mon Sep 17 00:00:00 2001
|
|
From: David Disseldorp <ddiss@suse.de>
|
|
Date: Tue, 10 Nov 2020 18:21:08 +0100
|
|
Subject: [PATCH] pmns/Make: drop duplicate if/else
|
|
|
|
As of 029add427a42344ea7129452c9e0fb286d3cf881, both the if and else
|
|
branches here match. Restoration of the previous build-time logic is
|
|
tracked via https://github.com/performancecopilot/pcp/issues/1140 and
|
|
will affect more scripts than just this one.
|
|
|
|
Signed-off-by: David Disseldorp <ddiss@suse.de>
|
|
---
|
|
src/pmns/Make.stdpmid | 10 +---------
|
|
1 file changed, 1 insertion(+), 9 deletions(-)
|
|
|
|
diff --git a/src/pmns/Make.stdpmid b/src/pmns/Make.stdpmid
|
|
index 8eaaf94ce2..aa6cd74275 100755
|
|
--- a/src/pmns/Make.stdpmid
|
|
+++ b/src/pmns/Make.stdpmid
|
|
@@ -16,15 +16,7 @@
|
|
# source the PCP configuration environment variables
|
|
. $PCP_DIR/etc/pcp.env
|
|
|
|
-if [ -d "$PCP_TMPFILE_DIR" ]
|
|
-then
|
|
- tmp=`mktemp -d "$PCP_TMPFILE_DIR/pmns_stdpmid.XXXXXXXXX"` || exit 1
|
|
-else
|
|
- # if configure --prefix is used in a the build, then $PCP_TMPFILE_DIR
|
|
- # may not yet exist ... /tmp is a safe bet
|
|
- #
|
|
- tmp=`mktemp -d "$PCP_TMPFILE_DIR/pmns_stdpmid.XXXXXXXXX"` || exit 1
|
|
-fi
|
|
+tmp=`mktemp -d "$PCP_TMPFILE_DIR/pmns_stdpmid.XXXXXXXXX"` || exit 1
|
|
status=1
|
|
trap "rm -rf $tmp; exit \$status" 0 1 2 3 15
|
|
|