Fix ota_from_target_files error in non-AB VF
For vendor freeze, vendor.img/odm.img is rebuilt and moved to the merged target files dir in a special build flow: https://android-review.googlesource.com/c/platform/build/+/1752968 But considering non-AB case, some more files are generated by MakeRecoveryPatch() along with vendor.img, such as: IMAGES/vendor.map VENDOR/etc/recovery.img VENDOR/bin/install-recovery.sh They should be copied to the merged target files dir as well, in order to pass the check in HasRecoveryPatch() and GetSparseImage(). Bug: 219871887 Test: Used to merge non-AB VF device Change-Id: I003186b30e700413d54ee1b7521bd03ba83ad3f5
Loading
Please register or sign in to comment