]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
systemd: Set RebootWatchdogSec to 60s as watchdog
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 27 May 2022 07:07:11 +0000 (00:07 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 May 2022 14:23:33 +0000 (15:23 +0100)
commit20a7ab9ff6ed777c6617a338d049ebe03fcc588c
tree1a43000d2e4979c0b2bec367fe25a506f0a4f431
parent1054d3366ba528f2ad52585cf951e508958c5c68
systemd: Set RebootWatchdogSec to 60s as watchdog

The systemd-shutdown sets watchdog timeout to 10m (600 seconds) which is too
large, and caused errors when reboot on boars such as rpi4:

systemd-shutdown[1]: Failed to set timeout to 10min: Invalid argument

The watchog's default value is 60s, so set RebootWatchdogSec to 60s to fix the
errors. And <machin.conf> can set WATCHDOG_TIMEOUT when needed, for example,
the max timeout of rpi4 is 15 seconds.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd_250.5.bb
meta/recipes-extended/watchdog/watchdog-config.bb