From 8c00c5ebf3c6713472dcdc3c0955d2dbc6ab21c0 Mon Sep 17 00:00:00 2001 From: Christophe Priouzeau Date: Thu, 4 May 2023 14:33:34 +0200 Subject: [PATCH] SYSTEMD: watchdog: limit time for shutdown watchdog Change-Id: Ic855a71f1e96932cfccfe352dab98859d12a1471 Signed-off-by: Christophe Priouzeau --- recipes-core/systemd/systemd-conf_%.bbappend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-core/systemd/systemd-conf_%.bbappend b/recipes-core/systemd/systemd-conf_%.bbappend index 13111b5..0548029 100644 --- a/recipes-core/systemd/systemd-conf_%.bbappend +++ b/recipes-core/systemd/systemd-conf_%.bbappend @@ -4,6 +4,8 @@ do_install:append:stm32mpcommon() { install -d ${D}${systemd_unitdir}/system.conf.d/ echo "[Manager]" > ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf echo "RuntimeWatchdogSec=32" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf - echo "ShutdownWatchdogSec=2min" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf + echo "ShutdownWatchdogSec=32" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf + echo "RebootWatchdogSec=32" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf + fi }