Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7a9bac0 authored by M1cha's avatar M1cha Committed by Steve Kondik
Browse files

releasetools: ota_from_target_files: add FullOTA_PostValidate

Change-Id: I152412049f90fd546d4516cc064238c3192be553
parent 6be14313
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -869,6 +869,11 @@ class DeviceSpecificParams(object):
    used to install the image for the device's baseband processor."""
    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):
    """Called after emitting the block of assertions at the top of an
    incremental OTA package.  Implementations can add whatever
+2 −0
Original line number Diff line number Diff line
@@ -667,6 +667,8 @@ else if get_stage("%(bcb_dev)s") == "3/3" then
  if block_based:
    script.Unmount("/system")

  device_specific.FullOTA_PostValidate()

  if OPTIONS.backuptool:
    script.ShowProgress(0.02, 10)
    if block_based: