ksud: default 1T for sparse file

This commit is contained in:
weishu
2024-01-30 12:42:05 +08:00
parent 4e1dbcbb84
commit 6d1e6d6287
3 changed files with 5 additions and 5 deletions

View File

@@ -339,7 +339,7 @@ fn _install_module(zip: &str) -> Result<()> {
humansize::format_size(zip_uncompressed_size, humansize::DECIMAL)
);
let sparse_image_size = 256 * (1 << 30); // 256G
let sparse_image_size = 1 << 40; // 1T
let jounnel_size = 8; // 8M
if !modules_img_exist && !modules_update_img_exist {
// if no modules and modules_update, it is brand new installation, we should create a new img