pcp
[Top] [All Lists]

pcp updates: rpm packaging - red hat bz1304722

To: pcp@xxxxxxxxxxx
Subject: pcp updates: rpm packaging - red hat bz1304722
From: Lukas Berk <lberk@xxxxxxxxxx>
Date: Fri, 05 Feb 2016 14:42:10 -0500
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Hi,

Changes committed to git://git.pcp.io/lberk/pcp master

Lukas Berk (2):
      Call Remove script when uninstalling single pmda's
      rpm packaging: tweak pmda_remove macro

 build/rpm/GNUmakefile |    1 
 build/rpm/fedora.spec |  185 +++++++++++++++++++++++++++++++++++++++++++++
 build/rpm/pcp.spec.in |  203 +++++++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 385 insertions(+), 4 deletions(-)

Details ...

commit b384ce011813069a6168d1e05017fd0e9ff3acae
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Fri Feb 5 14:33:58 2016 -0500

    rpm packaging: tweak pmda_remove macro
    
    the second 'cd' invocation wasn't needed however, was hiding the
    errornous return value from the Remove invocation in cases where
    the pmda had not been installed (and not created a domain.h file, which
    pmdaSetup failed on, we now check for this file), as well as cases
    after the main pcp package (containing pmcd and its config files) had
    been removed.

commit 258368d3bcc4354fba6b0d70316979b9b9558c73
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Thu Feb 4 21:09:31 2016 -0500

    Call Remove script when uninstalling single pmda's
    
    With the current sub-rpm per pmda setup.  When an enabled pmda is
    removed via rpm -e, pmcd.conf still contains the pmda line, and will
    attempt (and fail) to restart the pmda on a pmcd restart.
    
    Thus, adding a global pmda_remove macro to run the Remove script of a
    pmda sub-rpm as it's erased.
    
    RedHat BZ1304722

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: rpm packaging - red hat bz1304722, Lukas Berk <=