blob: 24b1b9c1fa7817be317922bc247adf791c6f6a46 [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"
Andrew Geissler5c76e0c2018-03-27 13:56:26 -070019TGTFMT = "obmc-host-startmin@{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')}"