xref: /DragonOS/user/dadk/config/test_mount_1_0_0.toml (revision e8b1db320d9014e92c1f5272c7a7e6dafac08b90)
1# 用户程序名称
2name = "test_mount"
3# 版本号
4version = "1.0.0"
5# 用户程序描述信息
6description = "to test user mode mount"
7# (可选)默认: false 是否只构建一次,如果为true,DADK会在构建成功后,将构建结果缓存起来,下次构建时,直接使用缓存的构建结果
8build-once = false
9#  (可选) 默认: false 是否只安装一次,如果为true,DADK会在安装成功后,不再重复安装
10install-once = false
11# 目标架构
12# 可选值:"x86_64", "aarch64", "riscv64"
13target-arch = ["x86_64"]
14# 任务源
15[task-source]
16# 构建类型
17# 可选值:"build-from_source", "install-from-prebuilt"
18type = "build-from-source"
19# 构建来源
20# "build_from_source" 可选值:"git", "local", "archive"
21# "install_from_prebuilt" 可选值:"local", "archive"
22source = "local"
23# 路径或URL
24source-path = "user/apps/test-mount"
25# 构建相关信息
26[build]
27# (可选)构建命令
28build-command = "make install"
29# 安装相关信息
30[install]
31# (可选)安装到DragonOS的路径
32in-dragonos-path = "/"
33# 清除相关信息
34[clean]
35# (可选)清除命令
36clean-command = "make clean"
37# (可选)依赖项
38# 注意:如果没有依赖项,忽略此项,不允许只留一个[[depends]]
39# [[depends]]
40# name = "depend1"
41# version = "0.1.1"
42# [[depends]]
43# name = "depend2"
44# version = "0.1.2"
45# (可选)环境变量
46# [[envs]]
47# key = "PATH"
48# value = "/usr/bin"
49# [[envs]]
50# key = "LD_LIBRARY_PATH"
51# value = "/usr/lib"
52