ksud_overlayfs: fix sparse image journal size being 0 block and cause error to format into ext4 with mke2fs

This commit is contained in:
rifsxd
2025-02-07 14:23:56 +06:00
parent c20fe6c886
commit fcc4f0d206

View File

@@ -365,7 +365,7 @@ fn _install_module(zip: &str) -> Result<()> {
);
let sparse_image_size = 1 << 34; // 16GB
let journal_size = 64 << 20; // 64MB
let journal_size = 64; // 64MB
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