diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-09-13 08:05:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-09-13 08:05:54 +0200 |
commit | 860b1892a0e9c3b8f33c1428c6f38546995e5d11 (patch) | |
tree | 686252dbcb572d4c0cf686998aaca3f25e2e86d1 /buildos | |
parent | 2f106cc55047a8f77d64c28dde0911343013879b (diff) |
WIP
Diffstat (limited to 'buildos')
-rwxr-xr-x | buildos | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -29,6 +29,8 @@ function error () exit 1 } +arch="$(uname -m)" + # Network timeouts: 60 seconds to connect, 10 minutes to complete, 4 retries # (5 attempts total). These are similar to bbot timeouts. Note that the # toolchain archives can be quite sizable. @@ -122,7 +124,9 @@ function restart () sudo systemctl reboot } -if [ -z "$buildid_url" ]; then +if [ -n "$buildid_url" ]; then + buildid_url="$buildid_url-$arch" +else info "no buildos.buildid_url specified, not monitoring for new os builds" fi |