zCore
zCore copied to clipboard
run zcore in win10 docker failed
The way to reproduce error and the error is show below:
cargo run --release -p linux-loader /bin/busybox ls
Compiling kernel-hal-unix v0.1.0 (/home/vimer/project/os/zCore/kernel-hal-unix)
Compiling linux-loader v0.1.0 (/home/vimer/project/os/zCore/linux-loader)
Finished release [optimized] target(s) in 4.80s
Running `target/release/linux-loader /bin/busybox ls`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: EINVAL', linux-loader/src/lib.rs:37:23
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
My environment is :
Linux 8a871de48133 4.19.76-linuxkit #1 SMP Tue May 26 11:42:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Did you forget to run make rootfs
? It seems that busybox
was not found.