summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/chassis/obmc-fsi-scan.bb
blob: 4a4fdd7606a32e841a5b4969f19798b6184de43f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SUMMARY = "Scan for FSI devices"
DESCRIPTION = "Tells the OpenFSI device driver to scan for FSI devices"
PR = "r1"

inherit obmc-phosphor-dbus-service
inherit obmc-phosphor-license

TMPL = "fsi-scan@.service"
INSTFMT = "fsi-scan@{0}.service"
TGTFMT = "obmc-power-chassis-on@{0}.target"
FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"

SYSTEMD_SERVICE_${PN} += "${TMPL}"
SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"
SYSTEMD_SUBSTITUTIONS += "MACHINE:${MACHINE}:${TMPL}"
OpenPOWER on IntegriCloud