]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: Fixes to ACM package to support distros
authorSean Hefty <sean.hefty@intel.com>
Fri, 30 Mar 2012 23:31:08 +0000 (16:31 -0700)
committerSean Hefty <sean.hefty@intel.com>
Fri, 6 Apr 2012 15:05:08 +0000 (08:05 -0700)
commit94e0f52806e52e9a441f25cb3bc30bebacd2e1d1
tree6334ead260a5f39e453ccbed375f18d4719a9a45
parentd0bffbd0765be6a31be97aee1a336681c49e4d99
ibacm: Fixes to ACM package to support distros

Set of changes to fixup the ibacm package for inclusion into RedHat 6.
Changes are based on feedback from Doug Ledford <dledford@redhat.com>.
These are primarily changes to the build files, along with name changes
to the man pages and sample configuration files.

Rename the ib_acm service to match the package name, ibacm.

Rename the ibacm configuration files to use the prefix 'ibacm' instead
of 'acm'.  The new sample files are 'ibacm_addr.cfg' and 'ibacm_opts.cfg'.

Move location of ACM lock and configuration files and ibacm.pid
files.  They are currently in non-standard locations.

Modify ibacm and ib_acme to use $sysconfdir and $bindir configure
values.  The ibacm_addr.cfg and ibacm_opt.cfg files will now be
read/written to $sysconfdir/rdma by default.  And ibacm will execute
$bindir/ib_acme if it needs to create the ibacm_addr.cfg file.  Without
$bindir, the ibacm service can fail to launch ib_acme when started
from an init script.

Add init script as part of install.  The init script is installed
into $sysconfdir/init.d.

Fixup man pages based on changes.

Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
16 files changed:
Makefile.am
acm_addr.cfg [deleted file]
acm_opts.cfg [deleted file]
configure.in
ibacm.init.in [new file with mode: 0644]
ibacm.spec.in
ibacm_addr.cfg [new file with mode: 0644]
ibacm_opts.cfg [new file with mode: 0644]
linux/osd.h
man/ib_acm.1 [deleted file]
man/ib_acm.7 [deleted file]
man/ib_acme.1
man/ibacm.1 [new file with mode: 0644]
man/ibacm.7 [new file with mode: 0644]
src/acm.c
src/acme.c