Debian: Package mtce-guest services the proper way

This work only affects Debian.

Currently guestServer.service is not part of the designed package
(mtce-guest-server), but part of mtce-guest-agent.
Fix packaging to deliver the file in the designed package.
Fix because we don't want anything related to this to bite us later.
This is a follow-up to [1].

Tests:
PASS: build-pkgs
      guestAgent.service is part of mtce-guest-agent
      guestServer.service is part of mtce-guest-server
PASS: build-image
PASS: Standard lab deployed

[1]: https://review.opendev.org/c/starlingx/nfv/+/830596
Story: 2009101
Task: 44323
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: I55b3901120af424353c9d18f2f4d2855f4f7605b
This commit is contained in:
Dan Voiculeasa 2022-08-25 18:16:04 +03:00
parent 1861fe9af8
commit d380292b8a
3 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ override_dh_auto_install:
install -p -D -m 644 scripts/guestServer.pmon $(PMONDIR)/guestServer.conf
override_dh_installsystemd:
dh_installsystemd --name guestServer
dh_installsystemd --no-enable --name guestAgent
dh_installsystemd -pmtce-guest-server --name guestServer guestServer.service
dh_installsystemd -pmtce-guest-agent --no-enable --name guestAgent guestAgent.service
override_dh_fixperms:
dh_fixperms -XguestAgent -XguestServer