blob: 26cab2c07c6ba76325d83f2b6ce721ddc860e3a5 [file] [log] [blame]
Matt Spinlercf92a502017-03-08 13:53:51 -06001SUMMARY = "FSI Services"
2DESCRIPTION = "Install FSI related services"
3PR = "r1"
4
5inherit obmc-phosphor-systemd
6inherit obmc-phosphor-license
7
Josh D. Kingb9ee5362017-04-06 14:43:46 -05008TGTFMT = "obmc-chassis-poweron@{0}.target"
Matt Spinlercf92a502017-03-08 13:53:51 -06009
10TMPL_SCAN = "fsi-scan@.service"
11INSTFMT_SCAN = "fsi-scan@{0}.service"
12FMT_SCAN = "../${TMPL_SCAN}:${TGTFMT}.requires/${INSTFMT_SCAN}"
13
14TMPL_BIND = "fsi-bind@.service"
15INSTFMT_BIND = "fsi-bind@{0}.service"
16FMT_BIND = "../${TMPL_BIND}:${TGTFMT}.requires/${INSTFMT_BIND}"
17
18SYSTEMD_SERVICE_${PN} += "${TMPL_SCAN} ${TMPL_BIND} fsi-enable.service fsi-disable.service"
19
20SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT_SCAN', 'OBMC_CHASSIS_INSTANCES')}"
21SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT_BIND', 'OBMC_CHASSIS_INSTANCES')}"