manager: Next modifications, ksud: 16GB sparse image

This commit is contained in:
Rifat Azad
2024-12-04 01:18:54 +06:00
parent c9edb7d3be
commit b6064f224b
8 changed files with 51 additions and 78 deletions

View File

@@ -362,7 +362,7 @@ fn _install_module(zip: &str) -> Result<()> {
humansize::format_size(zip_uncompressed_size, humansize::DECIMAL)
);
let sparse_image_size = 1 << 40; // 1T
let sparse_image_size = 1 << 34; // 16G
let journal_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