Matt Spinler | 8cbb396 | 2017-03-06 11:06:27 -0600 | [diff] [blame] | 1 | SUMMARY = "Enables reboots on host failures" |
| 2 | DESCRIPTION = "Manages the settings entry that controls reboots \ |
| 3 | on host failures" |
| 4 | PR = "r1" |
| 5 | |
| 6 | inherit obmc-phosphor-systemd |
| 7 | inherit obmc-phosphor-license |
| 8 | |
Matt Spinler | c9b6e43 | 2017-03-15 16:42:54 -0500 | [diff] [blame] | 9 | TMPL = "host-failure-reboots@.service" |
| 10 | INSTFMT = "host-failure-reboots@{0}.service" |
| 11 | LINK_FMT = "${TMPL}:${INSTFMT}" |
| 12 | |
| 13 | SYSTEMD_SERVICE_${PN} += "${TMPL}" |
| 14 | SYSTEMD_LINK_${PN} += "${@compose_list(d, 'LINK_FMT', 'OBMC_HOST_INSTANCES')}" |