Matt Spinler | cf92a50 | 2017-03-08 13:53:51 -0600 | [diff] [blame] | 1 | SUMMARY = "FSI Services" |
| 2 | DESCRIPTION = "Install FSI related services" |
| 3 | PR = "r1" |
Brad Bishop | 2879d32 | 2018-11-07 14:45:23 -0500 | [diff] [blame] | 4 | LICENSE = "Apache-2.0" |
Brad Bishop | 1ebdb61 | 2019-09-13 12:18:25 -0400 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
Matt Spinler | cf92a50 | 2017-03-08 13:53:51 -0600 | [diff] [blame] | 6 | |
| 7 | inherit obmc-phosphor-systemd |
Matt Spinler | cf92a50 | 2017-03-08 13:53:51 -0600 | [diff] [blame] | 8 | |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 9 | RDEPENDS:${PN} += "op-proc-control" |
Matt Spinler | 65edf7d | 2017-09-18 15:50:53 -0500 | [diff] [blame] | 10 | |
Andrew Geissler | db3d7a7 | 2020-09-22 13:33:56 -0500 | [diff] [blame] | 11 | TGTFMT_CHASSIS = "obmc-chassis-poweron@{0}.target" |
| 12 | TGTFMT_HOST = "obmc-host-startmin@{0}.target" |
Matt Spinler | cf92a50 | 2017-03-08 13:53:51 -0600 | [diff] [blame] | 13 | |
| 14 | TMPL_SCAN = "fsi-scan@.service" |
| 15 | INSTFMT_SCAN = "fsi-scan@{0}.service" |
Andrew Geissler | db3d7a7 | 2020-09-22 13:33:56 -0500 | [diff] [blame] | 16 | FMT_SCAN_CHASSIS = "../${TMPL_SCAN}:${TGTFMT_CHASSIS}.wants/${INSTFMT_SCAN}" |
| 17 | FMT_SCAN_HOST = "../${TMPL_SCAN}:${TGTFMT_HOST}.wants/${INSTFMT_SCAN}" |
Matt Spinler | cf92a50 | 2017-03-08 13:53:51 -0600 | [diff] [blame] | 18 | |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 19 | SYSTEMD_SERVICE:${PN} += "${TMPL_SCAN} fsi-enable.service fsi-disable.service" |
Matt Spinler | cf92a50 | 2017-03-08 13:53:51 -0600 | [diff] [blame] | 20 | |
Patrick Williams | e83c220 | 2021-09-01 16:17:33 -0500 | [diff] [blame^] | 21 | SYSTEMD_LINK:${PN} += "${@compose_list(d, 'FMT_SCAN_CHASSIS', 'OBMC_CHASSIS_INSTANCES')}" |
| 22 | SYSTEMD_LINK:${PN} += "${@compose_list(d, 'FMT_SCAN_HOST', 'OBMC_HOST_INSTANCES')}" |