ha/service-mgmt/sm/debian
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
..
deb_folder Fix failing sm services on Debian 2022-02-28 09:20:36 -03:00
meta_data.yaml sm: remove dl_hook 2021-12-09 12:11:51 +08:00