blob: 0d7d534ed0ac67fb4c8a1d82927e830e3cdad4e7 [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"
Josh D. Kingefb04a12017-04-06 15:56:37 -050019TGTFMT = "obmc-host-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')}"