diff options
author | Sebastien Marie <semarie@cvs.openbsd.org> | 2019-09-19 12:18:47 +0000 |
---|---|---|
committer | Sebastien Marie <semarie@cvs.openbsd.org> | 2019-09-19 12:18:47 +0000 |
commit | 3dc526668d7abd02c0675d3291f9f560c436456b (patch) | |
tree | 99fba70d6599fcb312fba3a135b93363d30e3b88 /distrib/miniroot/install.sub | |
parent | 3703ceaa7746bb3b04b375e0c3bb9829f44789f9 (diff) |
reset watchdog timeout between each installation of sets (and no just between fetch&verify)
ok sthen@
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r-- | distrib/miniroot/install.sub | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 355c04fa4c3..76dddc19989 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1141 2019/09/14 11:38:46 kn Exp $ +# $OpenBSD: install.sub,v 1.1142 2019/09/19 12:18:46 semarie Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -1655,6 +1655,7 @@ install_files() { # Install the set files. for _f in $_get_sets; do + $UU && reset_watchdog _fsrc="$_src/$_f" # Take the set file from the prefetch area if possible. @@ -1702,6 +1703,8 @@ install_files() { elif $_srclocal && [[ -f ${_src#file://}/SHA256 ]]; then cp ${_src#file://}/SHA256 /mnt/var/db/installed.SHA256 fi + + $UU && reset_watchdog } # Fetch install sets from an HTTP server possibly using a proxy. |