diff options
Diffstat (limited to 'etc/bootstrap/bbot-bootstrap.sh')
-rwxr-xr-x | etc/bootstrap/bbot-bootstrap.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/bootstrap/bbot-bootstrap.sh b/etc/bootstrap/bbot-bootstrap.sh index ec046ca..e5ffe80 100755 --- a/etc/bootstrap/bbot-bootstrap.sh +++ b/etc/bootstrap/bbot-bootstrap.sh @@ -71,14 +71,15 @@ while test $# -ne 0; do esac done -# Defaults that can be changed for testing. +# Defaults that can be changed for testing or further customization. # -# Note: build_options is an array-like (expanded unquoted). +# Note: build_options is array-like (expanded unquoted). # tftp="196.254.111.222" install="/usr/local" build_options= verbose=3 +timeout=600 #install="/tmp/bbot-install" #tftp="127.0.0.1:55123" @@ -120,7 +121,7 @@ run rm trust # bstrap="$(echo build2-toolchain-*)" run cd "$bstrap" -run ./build.sh --trust "$trust" $build_options "$cxx" +run ./build.sh --timeout "$timeout" --trust "$trust" $build_options "$cxx" run cd .. run rm -r "$bstrap" @@ -128,7 +129,7 @@ run rm -r "$bstrap" # config="$(echo build2-toolchain-*)" run cd "$config" -run bpkg build --yes bbot +run bpkg --fetch-timeout "$timeout" build --yes bbot run bpkg install bbot run cd .. run rm -r "$config" |