diff --git a/musl/aarch64-linux-musl-cross.tgz b/musl/aarch64-linux-musl-cross.tgz new file mode 100644 index 0000000..e689db7 Binary files /dev/null and b/musl/aarch64-linux-musl-cross.tgz differ diff --git a/musl/aarch64-linux-musl-native.tgz b/musl/aarch64-linux-musl-native.tgz new file mode 100644 index 0000000..6709fd5 Binary files /dev/null and b/musl/aarch64-linux-musl-native.tgz differ diff --git a/musl/i686-linux-musl-native.tgz b/musl/i686-linux-musl-native.tgz new file mode 100644 index 0000000..aca3e49 Binary files /dev/null and b/musl/i686-linux-musl-native.tgz differ diff --git a/musl/upload.sh b/musl/upload.sh new file mode 100755 index 0000000..656e2ce --- /dev/null +++ b/musl/upload.sh @@ -0,0 +1,34 @@ +#!/bin/bash +set -euo pipefail +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" + +function upload_file() { + local file="$1" + local server="getbin.xyz" + local tag="latest" + local name; + name=$(basename "${file}") + + # upload the file to the server + echo "Uploading ${file} to the server" + sos upload "${server}" "${file}" "${name}:${tag}" +} + + +if ! command -v sos &> /dev/null ; then + echo "sos could not be found" + exit 1 +fi + +if ! command -v dropshell-tool &> /dev/null ; then + echo "dropshell-tool could not be found" + exit 1 +fi + + +# find all .tgz in this directory +for file in "${SCRIPT_DIR}"/*.tgz; do + # upload the file to the server + echo "Uploading ${file} to the server" + upload_file "${file}" +done diff --git a/musl/x86_64-linux-musl-cross.tgz b/musl/x86_64-linux-musl-cross.tgz new file mode 100644 index 0000000..8040dac Binary files /dev/null and b/musl/x86_64-linux-musl-cross.tgz differ diff --git a/musl/x86_64-linux-musl-native.tgz b/musl/x86_64-linux-musl-native.tgz new file mode 100644 index 0000000..f2e321c Binary files /dev/null and b/musl/x86_64-linux-musl-native.tgz differ diff --git a/musl/x86_64-w64-mingw32-cross.tgz b/musl/x86_64-w64-mingw32-cross.tgz new file mode 100644 index 0000000..c87842a Binary files /dev/null and b/musl/x86_64-w64-mingw32-cross.tgz differ diff --git a/src/dropshell-build-install-requirements b/src/dropshell-build-install-requirements index 6f5ef62..37065de 100755 --- a/src/dropshell-build-install-requirements +++ b/src/dropshell-build-install-requirements @@ -304,6 +304,7 @@ function install_musl() { TOOLCHAIN_LIST=( "aarch64-linux-musl-cross" "x86_64-linux-musl-cross" + "x86_64-w64-mingw32-cross" ) for TOOLCHAIN in "${TOOLCHAIN_LIST[@]}"; do