From 57a1a8b39ecf914f7873e98f18e806c05a0fa900 Mon Sep 17 00:00:00 2001 From: Alexander Mnich <56564725+a-mnich@users.noreply.github.com> Date: Sat, 30 Aug 2025 21:50:15 +0200 Subject: [PATCH] [Feature] improved support for `mips` and `mipsle` architectures (#1112) * switch mipsle to softfloat * feat: add support for mips --- beszel/.goreleaser.yml | 13 +++++++++++++ supplemental/scripts/install-agent.sh | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/beszel/.goreleaser.yml b/beszel/.goreleaser.yml index a9a7582..7e7ee6d 100644 --- a/beszel/.goreleaser.yml +++ b/beszel/.goreleaser.yml @@ -38,12 +38,25 @@ builds: - mips64 - riscv64 - mipsle + - mips - ppc64le + gomips: + - hardfloat + - softfloat ignore: - goos: freebsd goarch: arm - goos: openbsd goarch: arm + - goos: linux + goarch: mips64 + gomips: softfloat + - goos: linux + goarch: mipsle + gomips: hardfloat + - goos: linux + goarch: mips + gomips: hardfloat - goos: windows goarch: arm - goos: darwin diff --git a/supplemental/scripts/install-agent.sh b/supplemental/scripts/install-agent.sh index 821c19c..2e435e0 100755 --- a/supplemental/scripts/install-agent.sh +++ b/supplemental/scripts/install-agent.sh @@ -398,7 +398,7 @@ fi echo "Downloading and installing the agent..." OS=$(uname -s | sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/') -ARCH=$(uname -m | sed -e 's/x86_64/amd64/' -e 's/armv6l/arm/' -e 's/armv7l/arm/' -e 's/aarch64/arm64/' -e 's/mips/mipsle/') +ARCH=$(uname -m | sed -e 's/x86_64/amd64/' -e 's/armv6l/arm/' -e 's/armv7l/arm/' -e 's/aarch64/arm64/') FILE_NAME="beszel-agent_${OS}_${ARCH}.tar.gz" # Determine version to install