blob: 840b649f65ef206b02bae7e8d8e4107b8aeffd7c [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
Matt Spinler65edf7d2017-09-18 15:50:53 -05008RDEPENDS_${PN} += "op-proc-control"
9
Josh D. Kingb9ee5362017-04-06 14:43:46 -050010TGTFMT = "obmc-chassis-poweron@{0}.target"
Matt Spinlercf92a502017-03-08 13:53:51 -060011
12TMPL_SCAN = "fsi-scan@.service"
13INSTFMT_SCAN = "fsi-scan@{0}.service"
14FMT_SCAN = "../${TMPL_SCAN}:${TGTFMT}.requires/${INSTFMT_SCAN}"
15
Joel Stanley4f3d4bc2018-06-27 15:10:27 +093016SYSTEMD_SERVICE_${PN} += "${TMPL_SCAN} fsi-enable.service fsi-disable.service"
Matt Spinlercf92a502017-03-08 13:53:51 -060017
18SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT_SCAN', 'OBMC_CHASSIS_INSTANCES')}"