Merge "debian: Simplify mtce-control packaging"
This commit is contained in:
commit
550c81d16a
@ -2,8 +2,7 @@ Source: mtce-control
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
|
||||
Build-Depends: debhelper-compat (= 13),
|
||||
libsystemd-dev
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Standards-Version: 4.5.1
|
||||
Homepage: https://www.starlingx.io
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
etc/init.d/goenabledControl
|
||||
etc/init.d/hbsAgent
|
||||
etc/pmon.d/hbsAgent.conf
|
||||
lib/systemd/system/hbsAgent.service
|
||||
debian/systemd/00-mtce-control.preset etc/systemd/system-preset
|
||||
|
1
mtce-control/debian/deb_folder/not-installed
Normal file
1
mtce-control/debian/deb_folder/not-installed
Normal file
@ -0,0 +1 @@
|
||||
/usr/share/licenses/mtce-control-1.0/LICENSE
|
@ -2,18 +2,17 @@
|
||||
# export DH_VERBOSE = 1
|
||||
|
||||
export ROOT = debian/tmp
|
||||
export INITDIR = $(ROOT)/etc/init.d
|
||||
export PMONDIR = $(ROOT)/etc/pmon.d
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_install:
|
||||
install -m 755 -d $(INITDIR)
|
||||
install -m 755 -p -D scripts/goenabled $(INITDIR)/goenabledControl
|
||||
install -m 755 -p -D scripts/hbsAgent $(INITDIR)
|
||||
install -m 755 -d $(PMONDIR)
|
||||
install -m 644 -p -D scripts/hbsAgent.conf $(PMONDIR)
|
||||
$(MAKE) buildroot=$(ROOT) \
|
||||
_sysconfdir=/etc \
|
||||
_unitdir=/lib/systemd/system \
|
||||
_datarootdir=/usr/share \
|
||||
install
|
||||
dh_install
|
||||
|
||||
override_dh_installsystemd:
|
||||
dh_installsystemd --name hbsAgent
|
||||
dh_installsystemd -pmtce-control --name hbsAgent hbsAgent.service
|
||||
|
@ -0,0 +1 @@
|
||||
enable hbsAgent.service
|
Loading…
x
Reference in New Issue
Block a user