debian: Fix controllerconfig packaging issues

- Ensure the controllerconfig.service starts.
- Ensure that the preset are installed when the packages
  are installed.

Test Plan
PASS Build package and ISO
PASS Boot and check for controllerconfig.service

Story: 2009101
Task: 43023

Signed-off-by: Chuck Short <charles.short@windriver.com>
Change-Id: Id88ebdea6735ef8fab2d8aa73ede50104abdef33
This commit is contained in:
Chuck Short 2022-03-05 14:54:06 +00:00
parent 7650919fb1
commit dcf746cf17
3 changed files with 3 additions and 1 deletions

View File

@ -3,3 +3,4 @@ etc/goenabled.d/*
usr/lib/python*/dist-packages/*
etc/init.d/*
etc/upgrade.d/*
debian/systemd/00-controllerconfig.preset etc/systemd/system-preset

View File

@ -37,7 +37,7 @@ override_dh_auto_test:
endif
override_dh_installsystemd:
dh_installsystemd -p controllerconfig controllerconfig.service
dh_installsystemd -pcontrollerconfig --no-start controllerconfig.service
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3

View File

@ -0,0 +1 @@
enable controllerconfig.service