]> code.ossystems Code Review - openembedded-core.git/commit
watchdog: Add wd_keepalive package
authorFabio Berton <fabio.berton@ossystems.com.br>
Fri, 26 Aug 2016 19:55:01 +0000 (16:55 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Sep 2016 10:52:09 +0000 (11:52 +0100)
commitb76af8a0982c3c7473bd6ba067d1c8030d4d2f26
treec57bd2c414c0604e485e6b3ddfecd81b835f353c
parentea2f99161a22ae2e9eefd3b337c9af7704c33e37
watchdog: Add wd_keepalive package

This is a simplified version of the watchdog daemon. It only opens
/dev/watchdog, and keeps writing to it often enough to keep the kernel
from resetting, at least once per minute. Each write delays the reboot
time another minute. After a minute of inactivity the watchdog hardware
will cause a reset. In the case of the software watchdog the ability to
reboot will depend on the state of the machines and interrupts.

Installs wd_keepalive binary and enable initscript.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/watchdog/watchdog/wd_keepalive.init [new file with mode: 0644]
meta/recipes-extended/watchdog/watchdog_5.15.bb