mirror of
https://github.com/hexagonal-sun/moss-kernel.git
synced 2025-12-23 22:47:55 -05:00
scripts: deps: usertest: new
Add a script to build the userspace test program and include it in the initramfs.
This commit is contained in:
committed by
Ashwin Naren
parent
e2a9306037
commit
4cd9fab80b
8
scripts/deps/usertest
Executable file
8
scripts/deps/usertest
Executable 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/
|
||||
Reference in New Issue
Block a user