]> code.ossystems Code Review - openembedded-core.git/commit
watchdog: fix PIDFile path in existing patch
authorTrevor Gamblin <trevor.gamblin@windriver.com>
Mon, 7 Oct 2019 17:56:20 +0000 (13:56 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Oct 2019 10:22:19 +0000 (11:22 +0100)
commitc279c9d7f0c948856052015cad59310a55274b92
treeb28592cf9313d515a08b4d67afb0f24283d4b9b7
parent5d16d265cc61c4e279fe3bf66016a00d9daa4068
watchdog: fix PIDFile path in existing patch

systemd throws a warning about the value of PIDFile:

  systemd[1]: /usr/lib/systemd/system/watchdog.service:11: PIDFile=
    references a path below legacy directory /var/run/, updating
    /var/run/watchdog.pid → /run/watchdog.pid; please update the
    unit file accordingly.

This is actually due to patch file 0001-watchdog-remove-interdependencies-of-watchdog-and-wd.patch
setting PIDFile=/var/run/watchdog.pid. Modify PIDFile in the patch
to be correctly set to /run/watchdog.pid.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/watchdog/watchdog/0001-watchdog-remove-interdependencies-of-watchdog-and-wd.patch