summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Schaeffer <john@schaeffer.io>2020-12-27 21:38:33 -0500
committerJohn Schaeffer <john@schaeffer.io>2020-12-27 21:38:33 -0500
commit1a5149cf8d015dc17f1d2de3e789c5a342d50ec7 (patch)
tree239bd8835935ffa418119fa69327ca4324b1909e /Makefile
parent34e3ffb194f6fa3028c0eb2ff57e7db2d1026771 (diff)
downloadopen-iscsi-1a5149cf8d015dc17f1d2de3e789c5a342d50ec7.tar.gz
Add etc/systemd/iscsi-init.service to SYSTEMDFILES Makefile variable
iscsi-init.service is not included in the SYSTEMDFILES Makefile variable, causing it to be skipped when the install_systemd rule is executed. This causes the iscsi systemd service to fail on a fresh install, as it requires the iscsi-init service. This commit adds etc/systemd/iscsi-init.service to the list of files in SYSTEMDFILES to correct this issue.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7b445a5..7f52cc8 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,7 @@ ETCFILES = etc/iscsid.conf
IFACEFILES = etc/iface.example
RULESFILES = utils/50-iscsi-firmware-login.rules
SYSTEMDFILES = etc/systemd/iscsi.service \
+ etc/systemd/iscsi-init.service \
etc/systemd/iscsid.service etc/systemd/iscsid.socket \
etc/systemd/iscsiuio.service etc/systemd/iscsiuio.socket