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" |
Patrick Venture | ebf92e9 | 2018-11-03 16:30:13 -0700 | [diff] [blame] | 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
Matt Spinler | 8cbb396 | 2017-03-06 11:06:27 -0600 | [diff] [blame] | 7 | |
| 8 | inherit obmc-phosphor-systemd |
Matt Spinler | 8cbb396 | 2017-03-06 11:06:27 -0600 | [diff] [blame] | 9 | |
Matt Spinler | c9b6e43 | 2017-03-15 16:42:54 -0500 | [diff] [blame] | 10 | TMPL = "host-failure-reboots@.service" |
| 11 | INSTFMT = "host-failure-reboots@{0}.service" |
| 12 | LINK_FMT = "${TMPL}:${INSTFMT}" |
| 13 | |
| 14 | SYSTEMD_SERVICE_${PN} += "${TMPL}" |
| 15 | SYSTEMD_LINK_${PN} += "${@compose_list(d, 'LINK_FMT', 'OBMC_HOST_INSTANCES')}" |