blob: 84dc7b14af166a2e33a7b5e60e136c6eb6155cba [file] [log] [blame]
Sergey Solominaac4adf2016-11-28 15:03:24 -06001SUMMARY = "POWER9 start host"
2DESCRIPTION = "Service to start POWER9 IPL through SBE"
3PR = "r1"
Brad Bishop2879d322018-11-07 14:45:23 -05004LICENSE = "Apache-2.0"
Brad Bishop1ebdb612019-09-13 12:18:25 -04005LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Sergey Solominaac4adf2016-11-28 15:03:24 -06006
7inherit obmc-phosphor-systemd
Sergey Solominaac4adf2016-11-28 15:03:24 -06008
Matt Spinleraca1b152017-03-10 15:08:56 -06009FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:"
Sergey Solominaac4adf2016-11-28 15:03:24 -060010
11PROVIDES += 'virtual/obmc-host-ctl'
12RPROVIDES_${PN} += 'virtual-obmc-host-ctl'
13
Jayanth Othayoth389a7042020-02-12 04:16:53 -060014RDEPENDS_${PN} += "op-proc-control \
Andrew Geissler82cfa662020-02-17 15:11:03 -060015 op-proc-control-systemd-links"
Sergey Solominaac4adf2016-11-28 15:03:24 -060016
17S = "${WORKDIR}"
Sergey Solominaac4adf2016-11-28 15:03:24 -060018
19TMPL = "start_host@.service"
20INSTFMT = "start_host@{0}.service"
Andrew Geissler5c76e0c2018-03-27 13:56:26 -070021TGTFMT = "obmc-host-startmin@{0}.target"
Andrew Geissler3c35a8c2017-02-08 15:54:25 -060022FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
Sergey Solominaac4adf2016-11-28 15:03:24 -060023
24SYSTEMD_SERVICE_${PN} += "${TMPL}"
25SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"