-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add export
subcommand to nydus-image
#1159
Conversation
@jiangliu , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/57872 |
@jiangliu , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/57876 |
@jiangliu , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/57877 |
@jiangliu , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/57879 |
@jiangliu , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/58008 |
@jiangliu , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/58009 |
@jiangliu , The CI test is completed, please check result:
Congratulations, your test job passed! |
@jiangliu , The CI test is completed, please check result:
Congratulations, your test job passed! |
@jiangliu , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/58266 |
@jiangliu , The CI test is completed, please check result:
Congratulations, your test job passed! |
Can we give a brief doc about why & how to use |
src/bin/nydus-image/main.rs
Outdated
} | ||
}"#; | ||
let config = config | ||
.replace("LOCAL_FS_DIR", dir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use format!
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
I will submit a dedicated PR to update the doc about |
Syntax only changes for commandline option preparation. Signed-off-by: Jiang Liu <[email protected]>
Introduce new subcommand `export` to nydus-image, which will be used to export RAFS filesystems as raw block device images or tar files. Signed-off-by: Jiang Liu <[email protected]>
Enable multi-threading when exporting block images, to reduce exporting time. Signed-off-by: Jiang Liu <[email protected]>
@jiangliu , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/62589 |
@jiangliu , The CI test is completed, please check result:
Congratulations, your test job passed! |
Add
export
subcommand tonydus-image
, which exports RAFS filesystems as raw block device images or tar files.It will be enhanced to generate integrity data for
dm-verity
and/orfs-verity
.