mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 18:26:48 +00:00
# 概述 把dadk版本升级到0.2.0 dadk 0.2.0能够提升编译速度,并且支持使用dadk对内核进行profiling。 新版dadk的文档: https://docs.dragonos.org.cn/p/dadk/ # 注意 这是一个breaking change,升级后,将无法使用dadk 0.2.0去编译旧的项目。如有需要,请手动降级到dadk 0.1.11: ```shell cargo install --git https://git.mirrors.dragonos.org.cn/DragonOS-Community/DADK --tag v0.1.11 ``` # 更改列表 * chore: 把管理用户程序编译的dadk配置文件改为新格式的 * feat: 使用新版dadk来创建\挂载\卸载磁盘镜像 * chore: bump dadk min version to 0.2.0 * chore: fix ci * chore: 更新github ci镜像到1.7 * doc: 添加文档 --------- Co-Authored-by: xuzihao <xuzihao@dragonos.org> Signed-off-by: longjin <longjin@DragonOS.org>
25 lines
651 B
TOML
25 lines
651 B
TOML
# DADK 总控文件
|
||
|
||
[metadata]
|
||
# Target architecture. Options: x86_64, riscv64
|
||
arch = "x86_64"
|
||
|
||
# Hypervisor config path
|
||
hypervisor-config = "config/hypervisor.toml"
|
||
|
||
# RootFS config path
|
||
rootfs-config = "config/rootfs.toml"
|
||
|
||
# Boot config path
|
||
boot-config = "config/boot.toml"
|
||
|
||
# System root directory folder (DADK will copy the files in this directory to the root directory of the disk image)
|
||
sysroot-dir = "bin/sysroot"
|
||
|
||
# DADK Root Cache directory path
|
||
cache-root-dir = "bin/dadk_cache"
|
||
|
||
# User configuration directory path
|
||
# 这个字段只是临时用于兼容旧版本,v0.2版本重构完成后会删除
|
||
user-config-dir = "user/dadk/config"
|