mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-22 13:15:44 -05:00
image/flash: actually use --split-size
This commit is contained in:
parent
6648a77822
commit
3ac8fc0689
1 changed files with 1 additions and 1 deletions
|
@ -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)):
|
||||
|
|
Loading…
Add table
Reference in a new issue