-
-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# 概述 把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 <[email protected]> Signed-off-by: longjin <[email protected]>
- Loading branch information
Showing
110 changed files
with
2,216 additions
and
1,327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[metadata] | ||
# Filesystem type (options: `fat32`) | ||
fs_type = "fat32" | ||
# Size of the rootfs disk image (eg, `1G`, `1024M`) | ||
size = "1G" | ||
|
||
[partition] | ||
# Partition type (options: "none", "mbr", "gpt") | ||
# | ||
# If "none" is specified, no partition table will be created, | ||
# and the entire disk will be treated as a single partition. | ||
# | ||
# Note that the "none" option is incompatible with GRUB boot. | ||
type = "mbr" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
|
||
traceback | ||
debug-kernel-with-gdb | ||
profiling-kernel-with-dadk |
Oops, something went wrong.