You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
ksud_overlayfs: fix sparse image journal size being 0 block and cause error to format into ext4 with mke2fs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user