summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/chassis/obmc-host-failure-reboots.bb
blob: 645f40cbfdb55fd4fd84a568403d0f8894b78967 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SUMMARY = "Enables reboots on host failures"
DESCRIPTION = "Manages the settings entry that controls reboots \
on host failures"
PR = "r1"

inherit obmc-phosphor-systemd
inherit obmc-phosphor-license

TMPL = "host-failure-reboots@.service"
INSTFMT = "host-failure-reboots@{0}.service"
LINK_FMT = "${TMPL}:${INSTFMT}"

SYSTEMD_SERVICE_${PN} += "${TMPL}"
SYSTEMD_LINK_${PN} += "${@compose_list(d, 'LINK_FMT', 'OBMC_HOST_INSTANCES')}"
OpenPOWER on IntegriCloud