Matt Spinler | 72a1406 | 2017-02-17 12:34:40 -0600 | [diff] [blame] | 1 | SUMMARY = "Scan for FSI devices" |
| 2 | DESCRIPTION = "Tells the OpenFSI device driver to scan for FSI devices" |
| 3 | PR = "r1" |
| 4 | |
| 5 | inherit obmc-phosphor-dbus-service |
| 6 | inherit obmc-phosphor-license |
| 7 | |
| 8 | TMPL = "fsi-scan@.service" |
| 9 | INSTFMT = "fsi-scan@{0}.service" |
| 10 | TGTFMT = "obmc-power-chassis-on@{0}.target" |
| 11 | FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" |
| 12 | |
| 13 | SYSTEMD_SERVICE_${PN} += "${TMPL}" |
| 14 | SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}" |
| 15 | SYSTEMD_SUBSTITUTIONS += "MACHINE:${MACHINE}:${TMPL}" |