base-files: upgrade: don't loop forever trying to kill processes
authorMatthias Schiffer <mschiffer@universe-factory.net>
Wed, 12 Jul 2017 22:19:32 +0000 (00:19 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Thu, 20 Jul 2017 19:41:33 +0000 (21:41 +0200)
commit1ab227d68852c1cb869926057774540bded24d41
tree1aa0154369acf1786c8bb987ea7b8412ed49dfd5
parentae30673b100757ee4367ec40e9902f7f3ddd8269
base-files: upgrade: don't loop forever trying to kill processes

When processes don't die on SIGKILL (usually because of kernel bugs), it's
better to give up instead of looping forever.

upgraded will trigger a reboot in this case (and if this fails, a hardware
watchdog will eventually time out and reset the system, if present).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
package/base-files/files/lib/upgrade/stage2