]> 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>
Thu, 5 Apr 2012 23:32:42 +0000 (16:32 -0700)
commitd25da4c45495d56460594447478ff454879520e1
tree231677cdb6de9663d94f70a04f7e943aba36b389
parentb05ca7c6f1bbced527ed02a9d7cd25a28bf8bf38
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