blob: 37a326fd0597eb4ef9c29305495a2dc55a9ec55c [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
8TGTFMT = "obmc-power-chassis-on@{0}.target"
9
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')}"