blob: c3d33b94933d3bacf9153d4e670787066b32f14e [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"
Brad Bishop75f03872018-11-03 09:41:57 -07004LICENSE = "Apache-2.0"
Brad Bishop6f3f0aa2019-09-13 12:14:05 -04005LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Ed Tanous9936f862022-09-19 09:13:20 -07006PR = "r1"
7
8SYSTEMD_SERVICE:${PN} += "${TMPL}"
9SYSTEMD_LINK:${PN} += "${@compose_list(d, 'LINK_FMT', 'OBMC_HOST_INSTANCES')}"
Patrick Williamsb81c1fb2024-03-08 21:44:55 -060010SYSTEMD_LINK[vardeps] += "OBMC_HOST_INSTANCES"
Matt Spinler1e7bfcc2017-03-06 11:06:27 -060011
12inherit obmc-phosphor-systemd
Matt Spinler1e7bfcc2017-03-06 11:06:27 -060013
Matt Spinlerab0a9272017-03-15 16:42:54 -050014TMPL = "host-failure-reboots@.service"
15INSTFMT = "host-failure-reboots@{0}.service"
16LINK_FMT = "${TMPL}:${INSTFMT}"