From 255aa6e69ae5d7861ccbb6468ac9e2cc09e8a77e Mon Sep 17 00:00:00 2001 From: Rifat Azad Date: Mon, 9 Dec 2024 23:17:12 +0600 Subject: [PATCH] ksud: reduced sparse image size to 6GB --- userspace/ksud/src/module.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/ksud/src/module.rs b/userspace/ksud/src/module.rs index f927e78a..9db4c40b 100644 --- a/userspace/ksud/src/module.rs +++ b/userspace/ksud/src/module.rs @@ -362,7 +362,7 @@ fn _install_module(zip: &str) -> Result<()> { humansize::format_size(zip_uncompressed_size, humansize::DECIMAL) ); - let sparse_image_size = 1 << 34; // 16G + let sparse_image_size = 6 * (1 << 30); // 6GB 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