diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-09-28 07:03:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-04 06:17:08 +0200 |
commit | 4ae045d72d710a25ecdbe2c71499ac05f7bcfa47 (patch) | |
tree | 076fa0149f9e1cc3bc923f1709e14f0dba5beca5 /buildos | |
parent | d916317c8c5c0093978a13495c17cf8b319d3ad9 (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 |