Draft: pmb: flasher: repurpose deviceinfo_flash_fastboot_max_size
Use this for setting limit to fastboot instead of failing.
Tested on samsung-manta which doesn't accept images bigger than 1 GiB. With this argument fastboot splits rootfs using sparse to pieces not bigger than the value. This makes flashing images bigger than 1 GiB work on this device. I guess that other devices may work fine as well, but the variable now has to end with either K
, M
, or G
, e.g. deviceinfo_flash_fastboot_max_size="1G"
Edited by Administrator