91c828185b
- Ensure that the service is started when the package is installed. - Ensure that the service dependencies are started when the package is installed. - Simplify debian/rules to use the Makefile in order to install the files that are needed. Test Plan PASS Build package and ISO PASS Boot and check for goenabled-compute.service Story: 2009101 Task: 43023 Signed-off-by: Chuck Short <charles.short@windriver.com> Change-Id: I5f931ff1318f32c6c74782cbda2a9517b9c4efe5
19 lines
367 B
Makefile
19 lines
367 B
Makefile
#!/usr/bin/make -f
|
|
# export DH_VERBOSE = 1
|
|
|
|
export ROOT = debian/tmp
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_install:
|
|
$(MAKE) buildroot=$(ROOT) \
|
|
_sysconfdir=/etc \
|
|
_unitdir=/lib/systemd/system \
|
|
_datarootdir=/usr/share \
|
|
install
|
|
dh_install
|
|
|
|
override_dh_installsystemd:
|
|
dh_installsystemd -pmtce-compute goenabled-worker.service
|