Am 26.01.2017 um 22:44 schrieb Frank Kunz <mailinglists@kunz-im-inter.net>:
Am 25.01.2017 um 09:24 schrieb Alexander Graf:
Am 24.01.2017 um 19:49 schrieb Frank Kunz <mailinglists@kunz-im-inter.net>:
Am 24.01.2017 um 18:29 schrieb Andreas Färber: Hi,
Am 24.01.2017 um 17:30 schrieb Frank Kunz: But the watchdog triggers anyway during the system partition rewrite. So nothing pings the watchdog during that operation. I think there is still a service missing that pings the watchdog.
See https://en.opensuse.org/HCL:Turris_Omnia for an example solution. I used /etc/init.d/boot.local for quick local testing.
I will try that first, but it needs util-linux which brings beside wdctl a lot of other things.
I would assume we already have that inside the kiwi initrd. Kiwi also executes hook scripts that we already populate (for SPL flashing, GPT wiggling, etc). Inside those you could just kick the watchdog once.
When you do that, please don't check for the board but rather the existence of /dev/watchdog. That way we also have it (hopefully) fixed for other systems that use watchdogs.
So far I found out there are two possible hooks (preHWdetect, postHWdetect) that might be called before the filesystem resize step done with tunefs. The watchdog needs to get pinged before that point. But they are not called because the OEMInstall function exits at that point:
if [ ! -f $VMX_SYSTEM ];then return fi
before the hooks are called. So there are no hooks that can be used. I think by that Kiwi needs to be adapted, or did I miss some option?
Let's ask Marcus :) Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org