mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 11:29:46 +03:00
pmb: flasher: add support for rk partitions (MR 2165)
This commit is contained in:
parent
884174ce3c
commit
18a16c7899
1 changed files with 8 additions and 0 deletions
|
@ -19,6 +19,14 @@ def variables(args, flavor, method):
|
|||
or None
|
||||
_partition_dtbo = args.deviceinfo["flash_fastboot_partition_dtbo"]\
|
||||
or None
|
||||
# Require that the partitions are specified in deviceinfo for now
|
||||
elif method.startswith("rkdeveloptool"):
|
||||
_partition_kernel = args.deviceinfo["flash_rk_partition_kernel"]\
|
||||
or None
|
||||
_partition_system = args.deviceinfo["flash_rk_partition_system"]\
|
||||
or None
|
||||
_partition_vbmeta = None
|
||||
_partition_dtbo = None
|
||||
else:
|
||||
_partition_kernel = args.deviceinfo["flash_heimdall_partition_kernel"]\
|
||||
or "KERNEL"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue