From 3ac8fc06894e42ab06f7a2a7c1dac04e68f3c311 Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Wed, 26 Apr 2023 13:26:16 +0200 Subject: [PATCH] image/flash: actually use --split-size --- image/flash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/flash.py b/image/flash.py index 591bc9e..afa8f60 100644 --- a/image/flash.py +++ b/image/flash.py @@ -103,7 +103,7 @@ def cmd_flash( fastboot_flash( partition=location, file=image_path, - sparse_size='100M', # TODO: make configurable + sparse_size=split_size if split_size is not None else '100M', ) elif method in [JUMPDRIVE, DD]: if method == DD or location.startswith("/") or (location not in LOCATIONS and os.path.exists(location)):