debian: Fix config-gate packaging
This commit does several things at once: - Ensures that the config.service starts - Ensures that the preset are installed when the packages are installed. Test Plan PASS Build packaage PASS Build and Install ISO PASS Ensure config.service is enabled. Story: 2009101 Task: 44678 Depends-On: https://review.opendev.org/c/starlingx/integ/+/831950 Signed-off-by: Chuck Short <charles.short@windriver.com> Change-Id: Ice4cb8e1139b73fe63d12253d8d3a86b0fa3dd80
This commit is contained in:
parent
0781b817d9
commit
01a6f9880b
@ -1,2 +1,3 @@
|
|||||||
lib/systemd/system/worker-config-gate.service
|
lib/systemd/system/worker-config-gate.service
|
||||||
usr/sbin/wait_for_worker_config_init.sh
|
usr/sbin/wait_for_worker_config_init.sh
|
||||||
|
debian/systemd/00-config-gate-worker.preset etc/systemd/system-preset
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
usr/sbin/wait_for_config_init.sh
|
usr/sbin/wait_for_config_init.sh
|
||||||
lib/systemd/system/config.service
|
lib/systemd/system/config.service
|
||||||
|
debian/systemd/00-config-gate.preset /etc/systemd/system-preset
|
||||||
|
@ -12,4 +12,5 @@ override_dh_auto_install:
|
|||||||
SYSTEMDDIR=`pwd`/debian/tmp/lib/systemd/system install
|
SYSTEMDDIR=`pwd`/debian/tmp/lib/systemd/system install
|
||||||
|
|
||||||
override_dh_installsystemd:
|
override_dh_installsystemd:
|
||||||
dh_installsystemd -pconfig-gate-worker worker-config-gate.service
|
dh_installsystemd -pconfig-gate-worker --no-start worker-config-gate.service
|
||||||
|
dh_installsystemd -pconfig-gate --no-start config.service
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
enable config.service
|
@ -0,0 +1 @@
|
|||||||
|
disable worker-config-gate.service
|
Loading…
Reference in New Issue
Block a user