sm6250-common: releasetools: Add vbmeta images to the output zip if present

Change-Id: I18372d2f8f3ab701bd92427c571d7506540f6f05
This commit is contained in:
LuK1337 2019-09-23 15:33:35 +02:00 committed by Demon000
parent 5ca0162b1a
commit aac5e701b7

View File

@ -32,4 +32,6 @@ def AddImage(info, basename, dest):
def OTA_InstallEnd(info): def OTA_InstallEnd(info):
info.script.Print("Patching firmware images...") info.script.Print("Patching firmware images...")
AddImage(info, "dtbo.img", "/dev/block/bootdevice/by-name/dtbo") AddImage(info, "dtbo.img", "/dev/block/bootdevice/by-name/dtbo")
AddImage(info, "vbmeta.img", "/dev/block/bootdevice/by-name/vbmeta")
AddImage(info, "vbmeta_system.img", "/dev/block/bootdevice/by-name/vbmeta_system")
return return