blob: 0caa074d4d0e3f07bae59ee22ceffbc0f7ddcde9 [file] [log] [blame]
Sergey Solominaac4adf2016-11-28 15:03:24 -06001SUMMARY = "POWER9 start host"
2DESCRIPTION = "Service to start POWER9 IPL through SBE"
3PR = "r1"
4
5inherit obmc-phosphor-systemd
6inherit obmc-phosphor-license
7
Matt Spinleraca1b152017-03-10 15:08:56 -06008FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:"
Sergey Solominaac4adf2016-11-28 15:03:24 -06009
10PROVIDES += 'virtual/obmc-host-ctl'
11RPROVIDES_${PN} += 'virtual-obmc-host-ctl'
12
Matt Spinleraca1b152017-03-10 15:08:56 -060013RDEPENDS_${PN} += "p9-vcs-workaround op-proc-control"
Sergey Solominaac4adf2016-11-28 15:03:24 -060014
15S = "${WORKDIR}"
Sergey Solominaac4adf2016-11-28 15:03:24 -060016
17TMPL = "start_host@.service"
18INSTFMT = "start_host@{0}.service"
19TGTFMT = "obmc-chassis-start@{0}.target"
Andrew Geissler3c35a8c2017-02-08 15:54:25 -060020FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
Sergey Solominaac4adf2016-11-28 15:03:24 -060021
22SYSTEMD_SERVICE_${PN} += "${TMPL}"
23SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"