releasetools: ota_from_target_files: add FullOTA_PostValidate
Change-Id: I152412049f90fd546d4516cc064238c3192be553
This commit is contained in:
@@ -3176,6 +3176,11 @@ class DeviceSpecificParams(object):
|
|||||||
used to install the image for the device's baseband processor."""
|
used to install the image for the device's baseband processor."""
|
||||||
return self._DoCall("FullOTA_InstallEnd")
|
return self._DoCall("FullOTA_InstallEnd")
|
||||||
|
|
||||||
|
def FullOTA_PostValidate(self):
|
||||||
|
"""Called after installing and validating /system; typically this is
|
||||||
|
used to resize the system partition after a block based installation."""
|
||||||
|
return self._DoCall("FullOTA_PostValidate")
|
||||||
|
|
||||||
def IncrementalOTA_Assertions(self):
|
def IncrementalOTA_Assertions(self):
|
||||||
"""Called after emitting the block of assertions at the top of an
|
"""Called after emitting the block of assertions at the top of an
|
||||||
incremental OTA package. Implementations can add whatever
|
incremental OTA package. Implementations can add whatever
|
||||||
|
@@ -236,6 +236,8 @@ else if get_stage("%(bcb_dev)s") == "3/3" then
|
|||||||
common.CheckSize(boot_img.data, "boot.img", target_info)
|
common.CheckSize(boot_img.data, "boot.img", target_info)
|
||||||
common.ZipWriteStr(output_zip, "boot.img", boot_img.data)
|
common.ZipWriteStr(output_zip, "boot.img", boot_img.data)
|
||||||
|
|
||||||
|
device_specific.FullOTA_PostValidate()
|
||||||
|
|
||||||
script.WriteRawImage("/boot", "boot.img")
|
script.WriteRawImage("/boot", "boot.img")
|
||||||
|
|
||||||
script.ShowProgress(0.1, 10)
|
script.ShowProgress(0.1, 10)
|
||||||
|
Reference in New Issue
Block a user