Joao Paulo Tavares Musico 0e54dacb45 Migrate iscsi-initiator-utils-config package to Debian
Modified iscsi-initiator-utils-config package to add support to Debian
packaging.
Added proper install target on iscsi-shutdown service file.

Test Plan:

PASS: built image successfully
PASS: Installed image successfully (with iscsi-initiator-utils-config)
PASS: build updated latest image (fresh env)
PASS: check iscsi-shutdown service is loaded and inactive
PASS: bootstrap and unlock successful
PASS: check iscsi-shutdown service is loaded and inactive

Story: 2009256
Task: 45159

Depends-On: https://review.opendev.org/c/starlingx/tools/+/839109

Signed-off-by: Joao Paulo Tavares Musico
<joaopaulotavares.musico@windriver.com>
Change-Id: If1ce83c4c6c87935b1097eac05eb79c771676d17
2022-05-19 00:45:51 +00:00

16 lines
378 B
Makefile

#!/usr/bin/make -f
#export DH_VERBOSE = 1
ROOT := $(CURDIR)/debian/tmp
%:
dh $@
override_dh_install:
install -p -D -m 644 iscsi-cache.volatiles ${ROOT}/usr/lib/tmpfiles.d/iscsi-cache.conf
install -p -D -m 644 iscsid.conf ${ROOT}/usr/share/starlingx/iscsi/iscsid.conf
dh_install
override_dh_installsystemd:
dh_installsystemd --name=iscsi-shutdown iscsi-shutdown.service