scripts: deps: usertest: new

Add a script to build the userspace test program and include it in the
initramfs.
This commit is contained in:
Matthew Leach
2025-12-11 20:31:40 +00:00
committed by Ashwin Naren
parent e2a9306037
commit 4cd9fab80b

8
scripts/deps/usertest Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
pushd "usertest" &>/dev/null || exit 1
cargo build
popd &>/dev/null || exit 1
cp ./target/aarch64-unknown-linux-musl/debug/usertest build/bin/