blob: b21440d89bd534475eefd8ba0377a65ffcf8c4ea [file] [log] [blame]
Matt Spinler1e7bfcc2017-03-06 11:06:27 -06001SUMMARY = "Enables reboots on host failures"
2DESCRIPTION = "Manages the settings entry that controls reboots \
3on host failures"
4PR = "r1"
Brad Bishop75f03872018-11-03 09:41:57 -07005LICENSE = "Apache-2.0"
Brad Bishop6f3f0aa2019-09-13 12:14:05 -04006LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Matt Spinler1e7bfcc2017-03-06 11:06:27 -06007
8inherit obmc-phosphor-systemd
Matt Spinler1e7bfcc2017-03-06 11:06:27 -06009
Matt Spinlerab0a9272017-03-15 16:42:54 -050010TMPL = "host-failure-reboots@.service"
11INSTFMT = "host-failure-reboots@{0}.service"
12LINK_FMT = "${TMPL}:${INSTFMT}"
13
Patrick Williams12fc9392021-08-06 09:16:53 -050014SYSTEMD_SERVICE:${PN} += "${TMPL}"
Patrick Williamse83c2202021-09-01 16:17:33 -050015SYSTEMD_LINK:${PN} += "${@compose_list(d, 'LINK_FMT', 'OBMC_HOST_INSTANCES')}"