Files
moss-kernel/scripts/deps/busybox
Matthew Leach e2a9306037 build-deps: busybox: don't popd too many times
Fix the busybox deps script's dir stack underflow.
2025-12-13 19:21:22 -08:00

10 lines
429 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