mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-19 20:38:30 +00:00
Prevent creating 128M images
make_ext4fs will fail creating 128M ext4 images, LOL WTF? Change it to 132M to fix this issue
This commit is contained in:
parent
f6ae7e1bf1
commit
e94be0b70e
@ -50,6 +50,8 @@ static char *loopsetup(const char *img) {
|
||||
}
|
||||
|
||||
int create_img(const char *img, int size) {
|
||||
if (size == 128) /* WTF...? */
|
||||
size = 132;
|
||||
unlink(img);
|
||||
LOGI("Create %s with size %dM\n", img, size);
|
||||
int ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user