File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -3195,6 +3195,11 @@ def FullOTA_InstallEnd(self):
3195
3195
used to install the image for the device's baseband processor."""
3196
3196
return self ._DoCall ("FullOTA_InstallEnd" )
3197
3197
3198
+ def FullOTA_PostValidate (self ):
3199
+ """Called after installing and validating /system; typically this is
3200
+ used to resize the system partition after a block based installation."""
3201
+ return self ._DoCall ("FullOTA_PostValidate" )
3202
+
3198
3203
def IncrementalOTA_Assertions (self ):
3199
3204
"""Called after emitting the block of assertions at the top of an
3200
3205
incremental OTA package. Implementations can add whatever
Original file line number Diff line number Diff line change @@ -258,6 +258,8 @@ def WriteFullOTAPackage(input_zip, output_file):
258
258
common .CheckSize (boot_img .data , "boot.img" , target_info )
259
259
common .ZipWriteStr (output_zip , "boot.img" , boot_img .data )
260
260
261
+ device_specific .FullOTA_PostValidate ()
262
+
261
263
script .WriteRawImage ("/boot" , "boot.img" )
262
264
263
265
script .ShowProgress (0.1 , 10 )
You can’t perform that action at this time.
0 commit comments