blob: 05d07ddb88510bc49f35fea3d1f2348b4ede3656 [file] [log] [blame]
Matt Spinlercf92a502017-03-08 13:53:51 -06001SUMMARY = "FSI Services"
2DESCRIPTION = "Install FSI related services"
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"
Matt Spinlercf92a502017-03-08 13:53:51 -06006
7inherit obmc-phosphor-systemd
Matt Spinlercf92a502017-03-08 13:53:51 -06008
Adriana Kobylak8c6707f2021-08-06 17:35:36 +00009RDEPENDS:${PN} += "op-proc-control"
Matt Spinler65edf7d2017-09-18 15:50:53 -050010
Andrew Geisslerdb3d7a72020-09-22 13:33:56 -050011TGTFMT_CHASSIS = "obmc-chassis-poweron@{0}.target"
12TGTFMT_HOST = "obmc-host-startmin@{0}.target"
Matt Spinlercf92a502017-03-08 13:53:51 -060013
14TMPL_SCAN = "fsi-scan@.service"
15INSTFMT_SCAN = "fsi-scan@{0}.service"
Andrew Geisslerdb3d7a72020-09-22 13:33:56 -050016FMT_SCAN_CHASSIS = "../${TMPL_SCAN}:${TGTFMT_CHASSIS}.wants/${INSTFMT_SCAN}"
17FMT_SCAN_HOST = "../${TMPL_SCAN}:${TGTFMT_HOST}.wants/${INSTFMT_SCAN}"
Matt Spinlercf92a502017-03-08 13:53:51 -060018
Adriana Kobylak8c6707f2021-08-06 17:35:36 +000019SYSTEMD_SERVICE:${PN} += "${TMPL_SCAN} fsi-enable.service fsi-disable.service"
Matt Spinlercf92a502017-03-08 13:53:51 -060020
Patrick Williamse83c2202021-09-01 16:17:33 -050021SYSTEMD_LINK:${PN} += "${@compose_list(d, 'FMT_SCAN_CHASSIS', 'OBMC_CHASSIS_INSTANCES')}"
22SYSTEMD_LINK:${PN} += "${@compose_list(d, 'FMT_SCAN_HOST', 'OBMC_HOST_INSTANCES')}"