diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2019-08-06 10:07:46 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2019-08-06 10:07:46 +0000 |
commit | 7acc2344a5aaf3044791e931a7c988881aef93bb (patch) | |
tree | 178f8dca5912e27411d21dba9b8dd9f67e2461bc | |
parent | ce0c200bacb13528a7d55afad1e0bdb490e578c6 (diff) |
raise the watchdog for sysupgrade-initiated updates from 30m to 45m.
on my anoncvs server it takes about 20m already to untar sets, which is
a bit close to the limit for my liking (we only want to trigger the
watchdog if things are *really* stuck; if it's still proceeding then
rebooting mid-upgrade can leave things in a worse state).
we can probably do something smarter (e.g. reset the watchdog after
untarring each set) but this is an easier-to-test initial improvement.
ok florian deraadt kn
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 328f7b03407..9e3d8c7d7d6 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1135 2019/05/14 14:27:49 ajacoutot Exp $ +# $OpenBSD: install.sub,v 1.1136 2019/08/06 10:07:45 sthen Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -3387,7 +3387,7 @@ elif $UU; then check_unattendedupgrade || exit 1 # trigger watchdog - (sleep 1800 && reboot) & + (sleep 2700 && reboot) & cat <<__EOT > /auto_upgrade.conf Location of sets = disk |