Sergey Solomin | 67305e3 | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 1 | SUMMARY = "POWER9 start host" |
| 2 | DESCRIPTION = "Service to start POWER9 IPL through SBE" |
| 3 | PR = "r1" |
Patrick Venture | a73e2c1 | 2018-11-05 19:25:07 -0800 | [diff] [blame] | 4 | LICENSE = "Apache-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://${OPENPOWERBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
Sergey Solomin | 67305e3 | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 6 | |
| 7 | inherit obmc-phosphor-systemd |
Sergey Solomin | 67305e3 | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 8 | |
Matt Spinler | 41d3c84 | 2017-03-10 15:08:56 -0600 | [diff] [blame] | 9 | FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:" |
Sergey Solomin | 67305e3 | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 10 | |
| 11 | PROVIDES += 'virtual/obmc-host-ctl' |
| 12 | RPROVIDES_${PN} += 'virtual-obmc-host-ctl' |
| 13 | |
Matt Spinler | 41d3c84 | 2017-03-10 15:08:56 -0600 | [diff] [blame] | 14 | RDEPENDS_${PN} += "p9-vcs-workaround op-proc-control" |
Sergey Solomin | 67305e3 | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 15 | |
| 16 | S = "${WORKDIR}" |
Sergey Solomin | 67305e3 | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 17 | |
| 18 | TMPL = "start_host@.service" |
| 19 | INSTFMT = "start_host@{0}.service" |
Andrew Geissler | 571ce44 | 2018-03-27 13:56:26 -0700 | [diff] [blame] | 20 | TGTFMT = "obmc-host-startmin@{0}.target" |
Andrew Geissler | 163fc00 | 2017-02-08 15:54:25 -0600 | [diff] [blame] | 21 | FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" |
Sergey Solomin | 67305e3 | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 22 | |
| 23 | SYSTEMD_SERVICE_${PN} += "${TMPL}" |
| 24 | SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}" |