forked from Mirror/pmbootstrap
pmbootstrap flasher: add flash_dtbo (MR 2099)
This commit is contained in:
parent
468d313790
commit
2d3cfbcbb4
7 changed files with 43 additions and 1 deletions
|
@ -673,6 +673,14 @@ def print_flash_info(args):
|
|||
logging.info("* pmbootstrap flasher flash_vbmeta")
|
||||
logging.info(" Flashes vbmeta image with verification disabled flag.")
|
||||
|
||||
# if current flasher supports dtbo and partition is explicitly specified
|
||||
# in deviceinfo
|
||||
if "flash_dtbo" in flasher_actions and \
|
||||
(args.deviceinfo["flash_fastboot_partition_dtbo"] or
|
||||
args.deviceinfo["flash_heimdall_partition_dtbo"]):
|
||||
logging.info("* pmbootstrap flasher flash_dtbo")
|
||||
logging.info(" Flashes dtbo image.")
|
||||
|
||||
# Most flash methods operate independently of the boot partition.
|
||||
# (e.g. an Android boot image is generated). In that case, "flash_kernel"
|
||||
# works even when partitions are split or installing for sdcard.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue