diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-09-28 07:03:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-09-28 07:03:59 +0200 |
commit | df240ff6adc0c5f6ba994741e08ed9d879ec7878 (patch) | |
tree | 80ec54382d1aeec52ffa0fa11ead414cd77d3048 /buildos | |
parent | bb70fe6adee0ccda2d5bb8243baf5793714ecbe1 (diff) |
Add support for --arch-variant, --kernel-source
Diffstat (limited to 'buildos')
-rwxr-xr-x | buildos | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -29,7 +29,15 @@ function error () exit 1 } +# Note: the arch variant is patched in by the bootstrap script. +# arch="$(uname -m)" +arch_variant= + +arch_with_variant="$arch" +if [ -n "$arch_variant" ]; then + arch_with_variant="$arch_with_variant-$arch_variant" +fi # Network timeouts: 60 seconds to connect, 10 minutes to complete, 4 retries # (5 attempts total). These are similar to bbot timeouts. Note that the @@ -125,7 +133,7 @@ function restart () } if [ -n "$buildid_url" ]; then - buildid_url="$buildid_url-$arch" + buildid_url="$buildid_url-$arch_with_variant" else info "no buildos.buildid_url specified, not monitoring for new os builds" fi |