StarryOS rootfs 准备
cargo xtask starry rootfs 按架构准备默认 managed rootfs,并打印 image storage 中的最终路径。这是 StarryOS 独有的便捷命令;ArceOS 和 Axvisor 不暴露对应子命令,它们在各自运行路径中准备所选 rootfs。
1. 命令
rootfs 子命令只接受架构选择参数,执行后会在标准输出打印可供脚本消费的镜像路径。
cargo xtask starry rootfs [--arch <ARCH>]
参数表如下。
| 参数 | 说明 |
|---|---|
--arch <ARCH> | 目标架构(默认 riscv64) |