Add a document for introducing the os_dir field.
Signed-off-by: Xu Xijian hdxuxijian@163.com --- doc/job/os_dir.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/job/os_dir.md
diff --git a/doc/job/os_dir.md b/doc/job/os_dir.md new file mode 100644 index 0000000..cecac49 --- /dev/null +++ b/doc/job/os_dir.md @@ -0,0 +1,10 @@ +# os_dir + +Meaning: +- An os_dir is a field that consists of three fields: os, os_arch, os_version, an example can be openeuler/aarch64/20.03. +- An os_dir is used to consist some paths with concrete os information, here are some paths in scheduler: + $SRV_OS/$os_dir/boot + $SRV_INITRD/osimage/$os_dir + $SRV_INITRD/deps/$mount_type/$os_dir/$program/$program.cgz + $SRV_INITRD/pkg/$mount_type/$os_dir/$program/$program_version.cgz +
Title should be like: doc/job: add os_dir.md.
On Thu, Nov 26, 2020 at 08:30:57PM +0800, Xu Xijian wrote:
Add a document for introducing the os_dir field.
Signed-off-by: Xu Xijian hdxuxijian@163.com
doc/job/os_dir.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/job/os_dir.md
diff --git a/doc/job/os_dir.md b/doc/job/os_dir.md new file mode 100644 index 0000000..cecac49 --- /dev/null +++ b/doc/job/os_dir.md @@ -0,0 +1,10 @@ +# os_dir
+Meaning: +- An os_dir is a field that consists of three fields: os, os_arch, os_version, an example can be openeuler/aarch64/20.03. +- An os_dir is used to consist some paths with concrete os information, here are some paths in scheduler:
- $SRV_OS/$os_dir/boot
- $SRV_INITRD/osimage/$os_dir
- $SRV_INITRD/deps/$mount_type/$os_dir/$program/$program.cgz
- $SRV_INITRD/pkg/$mount_type/$os_dir/$program/$program_version.cgz
Keep aligned better.
Thanks, Zhangyu
-- 2.23.0