metal/mtce-control/debian/deb_folder/rules
Leonardo Fagundes Luz Serrano d1c0d04719 Debian: Remove conf files from etc-pmon.d
Removed conf files from /etc/pmon.d/
as they are being moved to another location.

This is part of an effort to allow pmon conf files
to be selected at runtime by kickstarts.

The change is debian-only, since centos support
will be dropped soon.
Centos' pmon conf files remain in /etc/pmon.d/

Test Plan:
PASS - deb doesn't install anything to /etc/pmon.d/
PASS - rpm files unchanged
PASS - AIOSX unlocked-enabled-available
PASS - Standard 2+2 unlocked-enabled-available

Story: 2010211
Task: 46306

Depends-On: https://review.opendev.org/c/starlingx/metal/+/855095

Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
Change-Id: I086db0750df5626d2a8ba1010153ce4f45535ca5
2022-09-26 13:41:40 +00:00

22 lines
404 B
Makefile

#!/usr/bin/make -f
# export DH_VERBOSE = 1
export ROOT = debian/tmp
export PMONDIR = usr/share/starlingx/pmon.d
%:
dh $@
override_dh_auto_install:
$(MAKE) buildroot=$(ROOT) \
_sysconfdir=/etc \
_unitdir=/lib/systemd/system \
_datarootdir=/usr/share \
PMONDIR=$(PMONDIR) \
install
dh_install
override_dh_installsystemd:
dh_installsystemd -pmtce-control --name hbsAgent hbsAgent.service