blob: bedf65011e67b661a57ad8cfea63b38cf5101ec6 [file] [log] [blame]
Matt Spinlerd09f7502017-04-07 14:21:33 -05001SUMMARY = "FSI Services"
2DESCRIPTION = "Install FSI related services"
3PR = "r1"
Patrick Venture86ade832018-11-05 19:23:18 -08004LICENSE = "Apache-2.0"
Brad Bishop2e899dc2019-09-13 12:18:25 -04005LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Matt Spinlerd09f7502017-04-07 14:21:33 -05006
7inherit obmc-phosphor-systemd
Matt Spinlerd09f7502017-04-07 14:21:33 -05008
Matt Spinler228be782017-09-18 15:50:53 -05009RDEPENDS_${PN} += "op-proc-control"
10
Andrew Geisslerb81b81a2020-09-22 13:33:56 -050011TGTFMT_CHASSIS = "obmc-chassis-poweron@{0}.target"
12TGTFMT_HOST = "obmc-host-startmin@{0}.target"
Matt Spinlerd09f7502017-04-07 14:21:33 -050013
14TMPL_SCAN = "fsi-scan@.service"
15INSTFMT_SCAN = "fsi-scan@{0}.service"
Andrew Geisslerb81b81a2020-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 Spinlerd09f7502017-04-07 14:21:33 -050018
Joel Stanley89e38ab2018-06-27 15:10:27 +093019SYSTEMD_SERVICE_${PN} += "${TMPL_SCAN} fsi-enable.service fsi-disable.service"
Matt Spinlerd09f7502017-04-07 14:21:33 -050020
Andrew Geisslerb81b81a2020-09-22 13:33:56 -050021SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT_SCAN_CHASSIS', 'OBMC_CHASSIS_INSTANCES')}"
22SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT_SCAN_HOST', 'OBMC_HOST_INSTANCES')}"