blob: 0d7d534ed0ac67fb4c8a1d82927e830e3cdad4e7 [file] [log] [blame]
Sergey Solomin67305e32016-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 Spinler41d3c842017-03-10 15:08:56 -06008FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:"
Sergey Solomin67305e32016-11-28 15:03:24 -06009
10PROVIDES += 'virtual/obmc-host-ctl'
11RPROVIDES_${PN} += 'virtual-obmc-host-ctl'
12
Matt Spinler41d3c842017-03-10 15:08:56 -060013RDEPENDS_${PN} += "p9-vcs-workaround op-proc-control"
Sergey Solomin67305e32016-11-28 15:03:24 -060014
15S = "${WORKDIR}"
Sergey Solomin67305e32016-11-28 15:03:24 -060016
17TMPL = "start_host@.service"
18INSTFMT = "start_host@{0}.service"
Josh D. Kingd15112e2017-04-06 15:56:37 -050019TGTFMT = "obmc-host-start@{0}.target"
Andrew Geissler163fc002017-02-08 15:54:25 -060020FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
Sergey Solomin67305e32016-11-28 15:03:24 -060021
22SYSTEMD_SERVICE_${PN} += "${TMPL}"
23SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"