blob: 840b649f65ef206b02bae7e8d8e4107b8aeffd7c [file] [log] [blame]
Matt Spinlerd09f7502017-04-07 14:21:33 -05001SUMMARY = "FSI Services"
2DESCRIPTION = "Install FSI related services"
3PR = "r1"
4
5inherit obmc-phosphor-systemd
6inherit obmc-phosphor-license
7
Matt Spinler228be782017-09-18 15:50:53 -05008RDEPENDS_${PN} += "op-proc-control"
9
Josh D. King9d5d7f42017-04-06 14:43:46 -050010TGTFMT = "obmc-chassis-poweron@{0}.target"
Matt Spinlerd09f7502017-04-07 14:21:33 -050011
12TMPL_SCAN = "fsi-scan@.service"
13INSTFMT_SCAN = "fsi-scan@{0}.service"
14FMT_SCAN = "../${TMPL_SCAN}:${TGTFMT}.requires/${INSTFMT_SCAN}"
15
Joel Stanley89e38ab2018-06-27 15:10:27 +093016SYSTEMD_SERVICE_${PN} += "${TMPL_SCAN} fsi-enable.service fsi-disable.service"
Matt Spinlerd09f7502017-04-07 14:21:33 -050017
18SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT_SCAN', 'OBMC_CHASSIS_INSTANCES')}"