diff --git a/dropshell-build/install_dropshell_build_host.sh b/dropshell-build/install_dropshell_build_host.sh index 964c52d..9d9b7a4 100755 --- a/dropshell-build/install_dropshell_build_host.sh +++ b/dropshell-build/install_dropshell_build_host.sh @@ -273,10 +273,10 @@ function check_path() { function install_musl_cross() { local TOOLCHAIN="$1" - local MUSL_CC_URL="https://musl.cc" + local MUSL_CC_URL="https://getbin.xyz" if [ ! -d "$INSTALL_DIR/$TOOLCHAIN" ]; then echo "Downloading $TOOLCHAIN musl cross toolchain..." - wget -nc -O "$TMPDIR/$TOOLCHAIN.tgz" "$MUSL_CC_URL/$TOOLCHAIN.tgz" + wget -nc -O "$TMPDIR/$TOOLCHAIN.tgz" "$MUSL_CC_URL/$TOOLCHAIN.tgz:latest" tar -C "$INSTALL_DIR" -xvf "$TMPDIR/$TOOLCHAIN.tgz" fi } diff --git a/sos/sos b/sos/sos index bbc977b..97fe2ca 100755 --- a/sos/sos +++ b/sos/sos @@ -32,6 +32,10 @@ function die() { exit 1 } +function datetime() { + date -u +"%Y.%m%d.%H%M" +} + function upload() { if [ "$#" -ne 3 ]; then @@ -57,7 +61,8 @@ function upload() { METADATA_JSON=$(cat <