ha/service-mgmt/sm
lbonatti 8b2820f90f Fix failing sm services on Debian
Modified sm to address the following failing
services on Debian:

sm.service
sm-eru.service
sm-watchdog.service
sm-shutdown.service
sm-api.service

Applied fix:
- Included modified .service files for debian
directly into into the deb_folder.
- Changed the script file to set the environmental
variable LD_LIBRARY_PATH to the path of the
libsm_db and libsm_common libs.
- Included "override_dh_installsystemd" section
to rules in order to install services.
- Included postinst file to move the lib files
and to start two services.

Test Plan:

PASS: Package installed and ISO built successfully.
PASS: Services are on the expected state after iso install.
PASS: Services are running after bootstrap on Debian.
PASS: CentOS sm package is built and installed successfully

Story: 2009101
Task: 44597

Signed-off-by: lbonatti <LuizEduardo.Bonatti@windriver.com>
Change-Id: Iaa6e5087d6abe89b4fbfea464b2a19521faaa868
2022-02-28 09:20:36 -03:00
..
centos Add auto-version for remaining stx/ha packages 2020-12-17 13:27:02 -05:00
debian Fix failing sm services on Debian 2022-02-28 09:20:36 -03:00
opensuse openSUSE: Open Build Service Artifacts 2019-10-09 10:05:20 -05:00
scripts Fix failing sm services on Debian 2022-02-28 09:20:36 -03:00
src Merge "Add fd-limit-reached degraded condition for open-ldap service" 2021-12-02 17:04:15 +00:00
LICENSE Remove version from sm folder 2019-09-26 14:11:31 -05:00
Makefile Remove version from sm folder 2019-09-26 14:11:31 -05:00