Files
moss-kernel/scripts/mac-experimental/deps/busybox
NerdNextDoor 0904a1994c Introduce experimental macOS build support
Tested on my M4 MacBook Air, builds fine.
2025-11-30 21:15:30 +00:00

12 lines
457 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# busybox -- I couldn't get this to build. I ended up restoring to a third-party static binary which isn't ideal but it get's things running.
pushd "build" &>/dev/null || exit 1
wget https://github.com/shutingrz/busybox-static-binaries-fat/raw/refs/heads/main/busybox-aarch64-linux-gnu
chmod +x busybox-aarch64-linux-gnu
mv busybox-aarch64-linux-gnu bin/busybox
popd &>/dev/null || exit 1
popd &>/dev/null || exit 1