ksud_overlayfs: reduce sparse image size to 6GB

This commit is contained in:
rifsxd
2025-02-16 03:10:30 +06:00
parent 74f55dd807
commit b2a8fb66d3

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 << 34; // 16GB
let sparse_image_size = 6 << 30; // 6GB
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
// create a tmp module img and mount it to modules_update