From 4ae045d72d710a25ecdbe2c71499ac05f7bcfa47 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 28 Sep 2022 07:03:59 +0200 Subject: Add support for --arch-variant, --kernel-source --- buildos | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'buildos') diff --git a/buildos b/buildos index 221e781..9808719 100755 --- a/buildos +++ b/buildos @@ -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 -- cgit v1.1