blob: 7af9731f5daa4e14ec5ef5917af2d07ef622580c [file] [log] [blame]
Matt Spinlercf92a502017-03-08 13:53:51 -06001SUMMARY = "FSI Services"
2DESCRIPTION = "Install FSI related services"
3PR = "r1"
Brad Bishop2879d322018-11-07 14:45:23 -05004LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://${OPENPOWERBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
Matt Spinlercf92a502017-03-08 13:53:51 -06006
7inherit obmc-phosphor-systemd
Matt Spinlercf92a502017-03-08 13:53:51 -06008
Matt Spinler65edf7d2017-09-18 15:50:53 -05009RDEPENDS_${PN} += "op-proc-control"
10
Josh D. Kingb9ee5362017-04-06 14:43:46 -050011TGTFMT = "obmc-chassis-poweron@{0}.target"
Matt Spinlercf92a502017-03-08 13:53:51 -060012
13TMPL_SCAN = "fsi-scan@.service"
14INSTFMT_SCAN = "fsi-scan@{0}.service"
15FMT_SCAN = "../${TMPL_SCAN}:${TGTFMT}.requires/${INSTFMT_SCAN}"
16
Joel Stanley4f3d4bc2018-06-27 15:10:27 +093017SYSTEMD_SERVICE_${PN} += "${TMPL_SCAN} fsi-enable.service fsi-disable.service"
Matt Spinlercf92a502017-03-08 13:53:51 -060018
19SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT_SCAN', 'OBMC_CHASSIS_INSTANCES')}"