
Modified mtce and mtce-control to address the following failing services on Debian: hbsAgent.service hbsClient.service hwmon.service lmon.service mtcalarm.service mtclog.service runservices.service Applied fix: - Included modified .service files for debian directly into into the deb_folder. - Changed the init files to account for the different locations of the init-functions and service daemons on Debian and CentOS - Included "override_dh_installsystemd" section to rules in order to start services at boot. Test Plan: PASS: Package installed and ISO built successfully PASS: Ran "systemctl list-units --failed" and verified that the services are not failing PASS: Ran "systemctl status <service_name>" for each service and verified that they are active Story: 2009101 Task: 44192 Signed-off-by: Matheus Machado Guilhermino <Matheus.MachadoGuilhermino@windriver.com> Change-Id: I50915c17d6f50f5e20e6448d3e75bfe54a75acc0
20 lines
476 B
Makefile
20 lines
476 B
Makefile
#!/usr/bin/make -f
|
|
# export DH_VERBOSE = 1
|
|
|
|
export ROOT = debian/tmp
|
|
export INITDIR = $(ROOT)/etc/init.d
|
|
export PMONDIR = $(ROOT)/etc/pmon.d
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_install:
|
|
install -m 755 -d $(INITDIR)
|
|
install -m 755 -p -D scripts/goenabled $(INITDIR)/goenabledControl
|
|
install -m 755 -p -D scripts/hbsAgent $(INITDIR)
|
|
install -m 755 -d $(PMONDIR)
|
|
install -m 644 -p -D scripts/hbsAgent.conf $(PMONDIR)
|
|
|
|
override_dh_installsystemd:
|
|
dh_installsystemd --name hbsAgent
|