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 @@ -3210,6 +3210,11 @@ def FullOTA_InstallEnd(self):
3210
3210
used to install the image for the device's baseband processor."""
3211
3211
return self ._DoCall ("FullOTA_InstallEnd" )
3212
3212
3213
+ def FullOTA_PostValidate (self ):
3214
+ """Called after installing and validating /system; typically this is
3215
+ used to resize the system partition after a block based installation."""
3216
+ return self ._DoCall ("FullOTA_PostValidate" )
3217
+
3213
3218
def IncrementalOTA_Assertions (self ):
3214
3219
"""Called after emitting the block of assertions at the top of an
3215
3220
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