Sergey Solomin | aac4adf | 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" |
| 4 | |
| 5 | inherit obmc-phosphor-systemd |
| 6 | inherit obmc-phosphor-license |
| 7 | |
Matt Spinler | aca1b15 | 2017-03-10 15:08:56 -0600 | [diff] [blame] | 8 | FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:" |
Sergey Solomin | aac4adf | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 9 | |
| 10 | PROVIDES += 'virtual/obmc-host-ctl' |
| 11 | RPROVIDES_${PN} += 'virtual-obmc-host-ctl' |
| 12 | |
Matt Spinler | aca1b15 | 2017-03-10 15:08:56 -0600 | [diff] [blame] | 13 | RDEPENDS_${PN} += "p9-vcs-workaround op-proc-control" |
Sergey Solomin | aac4adf | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 14 | |
| 15 | S = "${WORKDIR}" |
Sergey Solomin | aac4adf | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 16 | |
| 17 | TMPL = "start_host@.service" |
| 18 | INSTFMT = "start_host@{0}.service" |
Josh D. King | efb04a1 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 19 | TGTFMT = "obmc-host-start@{0}.target" |
Andrew Geissler | 3c35a8c | 2017-02-08 15:54:25 -0600 | [diff] [blame] | 20 | FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" |
Sergey Solomin | aac4adf | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 21 | |
| 22 | SYSTEMD_SERVICE_${PN} += "${TMPL}" |
| 23 | SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}" |