blob: 6905f34aa5ce80b161e112fc5a1f4808ebc1a831 [file] [log] [blame]
Sergey Solomin67305e32016-11-28 15:03:24 -06001SUMMARY = "POWER9 start host"
2DESCRIPTION = "Service to start POWER9 IPL through SBE"
3PR = "r1"
Patrick Venturea73e2c12018-11-05 19:25:07 -08004LICENSE = "Apache-2.0"
Brad Bishop2e899dc2019-09-13 12:18:25 -04005LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Sergey Solomin67305e32016-11-28 15:03:24 -06006
7inherit obmc-phosphor-systemd
Sergey Solomin67305e32016-11-28 15:03:24 -06008
Matt Spinler41d3c842017-03-10 15:08:56 -06009FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:"
Sergey Solomin67305e32016-11-28 15:03:24 -060010
11PROVIDES += 'virtual/obmc-host-ctl'
12RPROVIDES_${PN} += 'virtual-obmc-host-ctl'
13
Andrew Geissler84962a92020-02-17 15:11:03 -060014RDEPENDS_${PN} += "p9-vcs-workaround \
15 op-proc-control \
16 op-proc-control-systemd-links"
Sergey Solomin67305e32016-11-28 15:03:24 -060017
18S = "${WORKDIR}"
Sergey Solomin67305e32016-11-28 15:03:24 -060019
20TMPL = "start_host@.service"
21INSTFMT = "start_host@{0}.service"
Andrew Geissler571ce442018-03-27 13:56:26 -070022TGTFMT = "obmc-host-startmin@{0}.target"
Andrew Geissler163fc002017-02-08 15:54:25 -060023FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
Sergey Solomin67305e32016-11-28 15:03:24 -060024
25SYSTEMD_SERVICE_${PN} += "${TMPL}"
26SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"