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