blob: e82eaeac410936c2a2151a6cf03bf083b60c2a56 [file] [log] [blame]
Matt Spinler8cbb3962017-03-06 11:06:27 -06001SUMMARY = "Enables reboots on host failures"
2DESCRIPTION = "Manages the settings entry that controls reboots \
3on host failures"
4PR = "r1"
Patrick Ventureebf92e92018-11-03 16:30:13 -07005LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
Matt Spinler8cbb3962017-03-06 11:06:27 -06007
8inherit obmc-phosphor-systemd
Matt Spinler8cbb3962017-03-06 11:06:27 -06009
Matt Spinlerc9b6e432017-03-15 16:42:54 -050010TMPL = "host-failure-reboots@.service"
11INSTFMT = "host-failure-reboots@{0}.service"
12LINK_FMT = "${TMPL}:${INSTFMT}"
13
14SYSTEMD_SERVICE_${PN} += "${TMPL}"
15SYSTEMD_LINK_${PN} += "${@compose_list(d, 'LINK_FMT', 'OBMC_HOST_INSTANCES')}"