runtime-rs: fix bugs to support Nydus v5

1. enable virtio-fs-pro in Dragonball to have the ability to process nydus backend registry
2. change passthrough for rw layer's readonly config to false to have the accurate read write ability.

Fixes:#8013

Signed-off-by: Chao Wu <chaowu@linux.alibaba.com>
This commit is contained in:
Chao Wu
2023-10-11 17:26:17 +08:00
parent 157caea9fe
commit 408b59c02c
4 changed files with 745 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ impl NydusRootfs {
cid: cid.to_string(),
source: extra_options.snapshot_dir.clone(),
target: SNAPSHOT_DIR.to_string(),
readonly: true,
readonly: false,
is_rafs: false,
})
.await