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" |
Brad Bishop | 2879d32 | 2018-11-07 14:45:23 -0500 | [diff] [blame] | 4 | LICENSE = "Apache-2.0" |
Brad Bishop | 1ebdb61 | 2019-09-13 12:18:25 -0400 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
Sergey Solomin | aac4adf | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 6 | |
| 7 | inherit obmc-phosphor-systemd |
Sergey Solomin | aac4adf | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 8 | |
Matt Spinler | aca1b15 | 2017-03-10 15:08:56 -0600 | [diff] [blame] | 9 | FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:" |
Sergey Solomin | aac4adf | 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 | aca1b15 | 2017-03-10 15:08:56 -0600 | [diff] [blame] | 14 | RDEPENDS_${PN} += "p9-vcs-workaround op-proc-control" |
Sergey Solomin | aac4adf | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 15 | |
| 16 | S = "${WORKDIR}" |
Sergey Solomin | aac4adf | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 17 | |
| 18 | TMPL = "start_host@.service" |
| 19 | INSTFMT = "start_host@{0}.service" |
Andrew Geissler | 5c76e0c | 2018-03-27 13:56:26 -0700 | [diff] [blame] | 20 | TGTFMT = "obmc-host-startmin@{0}.target" |
Andrew Geissler | 3c35a8c | 2017-02-08 15:54:25 -0600 | [diff] [blame] | 21 | FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" |
Sergey Solomin | aac4adf | 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')}" |