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 | |
Matt Spinler | 65edf7d | 2017-09-18 15:50:53 -0500 | [diff] [blame] | 9 | RDEPENDS_${PN} += "op-proc-control" |
| 10 | |
Josh D. King | b9ee536 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 11 | TGTFMT = "obmc-chassis-poweron@{0}.target" |
Matt Spinler | cf92a50 | 2017-03-08 13:53:51 -0600 | [diff] [blame] | 12 | |
| 13 | TMPL_SCAN = "fsi-scan@.service" |
| 14 | INSTFMT_SCAN = "fsi-scan@{0}.service" |
Andrew Geissler | ad6fc59 | 2020-06-01 15:39:17 -0500 | [diff] [blame] | 15 | FMT_SCAN = "../${TMPL_SCAN}:${TGTFMT}.wants/${INSTFMT_SCAN}" |
Matt Spinler | cf92a50 | 2017-03-08 13:53:51 -0600 | [diff] [blame] | 16 | |
Joel Stanley | 4f3d4bc | 2018-06-27 15:10:27 +0930 | [diff] [blame] | 17 | SYSTEMD_SERVICE_${PN} += "${TMPL_SCAN} fsi-enable.service fsi-disable.service" |
Matt Spinler | cf92a50 | 2017-03-08 13:53:51 -0600 | [diff] [blame] | 18 | |
| 19 | SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT_SCAN', 'OBMC_CHASSIS_INSTANCES')}" |