Changes committed to git://git.pcp.io/kenj/pcp master
Ken McDonell (4):
src/pmcd/rc-proc.sh: more cautious approach to using systemctl
qa/admin/myconfigure: be smarter and more robust
qa/common.check: track init-rc changes for systemctl
qa/555: track init-rc changes for systemctl
qa/555 | 2 -
qa/admin/myconfigure | 91 ++++++++++++++++++++++++++++++++++++++++++++++++---
qa/common.check | 26 +++++++++++++-
src/pmcd/rc-proc.sh | 15 ++++++--
4 files changed, 122 insertions(+), 12 deletions(-)
Details ...
commit 2992b429e5986c8ffca594e3e7162ad87e020b81
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri May 1 12:20:14 2015 +1000
qa/555: track init-rc changes for systemctl
Make logic here follow the new logic in src/pmcd/rc-proc.sh.
commit b2eb781fd753ccb5260857c44de163e240c236ed
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri May 1 12:18:29 2015 +1000
qa/common.check: track init-rc changes for systemctl
Make logic here follow the new logic in src/pmcd/rc-proc.sh.
commit d312d7d38c1d5060e4fb064103c202e6fe049598
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri May 1 12:12:20 2015 +1000
qa/admin/myconfigure: be smarter and more robust
First, get the Debian configopts directly from debian/rules instead
of replicating the settings here and risking them diverging over
time ... as happened!
Second, for all platforms, since the objective of this script
is to set up the workarea so that Makepkgs and make followed by
"sudo make install" will produce the same results, try and check
that the critical files installed from the package(s) (if found)
match the corresponding files in the workarea after configure
has been run.
commit 51798da2e1000bec1ab7afd0661d2f610bc79d40
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri May 1 09:40:43 2015 +1000
src/pmcd/rc-proc.sh: more cautious approach to using systemctl
On some Debian-derived systems, systemctl is present but a real
systemd is not and our Debian builds are currently configured
with --without-systemd.
This commit makes the logic more restricitve so we'll only try
and uses systemctl to control service "foo" if
- systemctl inary exists, and
- $PCP_SYSTEMDUNIT_DIR is not empty, and
- $PCP_SYSTEMDUNIT_DIR/foo.service exists
|