File s390-tools-sles15-cpi-add-unit-install-section.patch of Package s390-tools.10760

Subject: [PATCH] [BZ 160944] cpi: add missing Install section to service unit
From: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>

Description:  cpi: add missing Install section to service unit
Symptom:      Enabling the cpi service unit fails because it
              does not include information about where to install
              it.
Problem:      An install section is missing.
Solution:     Add an install section.
Reproduction: Issue systemctl enable cpi.
Upstream-ID:  -
Problem-ID:   160944

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
---
 systemd/cpi.service.in |    3 +++
 1 file changed, 3 insertions(+)

--- a/systemd/cpi.service.in
+++ b/systemd/cpi.service.in
@@ -38,3 +38,6 @@ EnvironmentFile=/etc/sysconfig/cpi
 #
 # Sending data to the HMC/SE
 ExecStart=@toolslib_path@/cpictl -e
+
+[Install]
+WantedBy=multi-user.target