debian: Fix packaging issues in sysinv-fpga-agent

Ensures that the preset are installed when the
packages are installed.

Test Plan
PASS Build packaage
PASS Build and Install ISO
PASS Ensure sysinv-fpga-agent service is enabled.

Story: 2009101
Task: 44678

Signed-off-by: Chuck Short <charles.short@windriver.com>
Change-Id: I615799a8f2613df4bfc21aaa4dfba38e3342794c
This commit is contained in:
Chuck Short 2022-03-05 21:57:54 +00:00
parent 7650919fb1
commit 5212f4035b
3 changed files with 5 additions and 3 deletions

View File

@ -8,8 +8,6 @@ Rules-Requires-Root: no
Package: sysinv-fpga-agent
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},
logrotate,
syslog-ng
Depends: ${shlibs:Depends}, ${misc:Depends}, mtce-pmon
Description: StarlingX FPGA agent monitor
Startup Scripts for StarlingX FPGA agent monitor

View File

@ -1,2 +1,3 @@
etc/init.d/sysinv-fpga-agent
etc/pmon.d/sysinv-fpga-agent.conf
debian/systemd/00-sysinv-fpga-agent.preset etc/systemd/system-preset

View File

@ -0,0 +1,3 @@
enable sysinv-fpga-agent.service
enable sysinv-conf-watcher.service
enable sysinv-conf-watcher.path