Add debian packaging directory to build sysinv-agent for Debian os. Story: 2009101 Task: 43110 Signed-off-by: Fabricio Henrique Ramos <fabriciohenrique.ramos@windriver.com> Change-Id: I7c6d3f658683d717f68e4b16c0f21a921c6fa828
17 lines
407 B
Makefile
Executable File
17 lines
407 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
#export DH_VERBOSE=1
|
|
|
|
ROOT := $(CURDIR)/debian/tmp
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_install:
|
|
install -p -D -m 755 sysinv-agent ${ROOT}/etc/init.d/sysinv-agent
|
|
install -p -D -m 644 sysinv-agent.conf ${ROOT}/etc/pmon.d/sysinv-agent.conf
|
|
install -p -D -m 644 sysinv-agent.service ${ROOT}/lib/systemd/system/sysinv-agent.service
|
|
dh_install
|
|
|
|
override_dh_installinit:
|
|
dh_installinit --only-scripts
|