]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
systemd: Set RebootWatchdogSec to 60s as watchdog rbt/watdog
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 27 May 2022 06:23:14 +0000 (23:23 -0700)
committerRobert Yang <liezhi.yang@windriver.com>
Fri, 27 May 2022 07:05:42 +0000 (00:05 -0700)
commitc05b2737acb3c1b1d91085eb38c183214f478c62
tree83abb7254c50b7cbb5129c27397bbcacec11d5eb
parent579906b9f4ea32c8d4e0e11a87ee6c9e27cdf0dc
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>
meta/recipes-core/systemd/systemd_250.5.bb
meta/recipes-extended/watchdog/watchdog-config.bb