From 4f09d7e302335762d2371ae42905092baa25c9aa Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Sat, 20 Dec 2025 15:45:15 -0700 Subject: [PATCH] handle riscv compat --- build/os-compat/run-compat.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/build/os-compat/run-compat.sh b/build/os-compat/run-compat.sh index ffc21eae9..4ec3d8da5 100755 --- a/build/os-compat/run-compat.sh +++ b/build/os-compat/run-compat.sh @@ -10,15 +10,13 @@ rel_pwd="${pwd#"$(pwd)"}" COMPAT_ARCH=$(uname -m) +platform=linux/$COMPAT_ARCH + case $COMPAT_ARCH in x86_64) platform=linux/amd64;; - aarch64|arm64) + aarch64) platform=linux/arm64;; - *) - echo "Unsupported architecture: $COMPAT_ARCH" >&2 - exit 1 - ;; esac if [ "$FORCE_COMPAT" = 1 ] || ( [ "$REQUIRES" = "linux" ] && [ "$(uname -s)" != "Linux" ] ) || ( [ "$REQUIRES" = "debian" ] && ! which dpkg > /dev/null ); then