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) {
|
int create_img(const char *img, int size) {
|
||||||
|
if (size == 128) /* WTF...? */
|
||||||
|
size = 132;
|
||||||
unlink(img);
|
unlink(img);
|
||||||
LOGI("Create %s with size %dM\n", img, size);
|
LOGI("Create %s with size %dM\n", img, size);
|
||||||
int ret;
|
int ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user