From 760de672c718ee2a26f78af7fd8f8bd1c229a288 Mon Sep 17 00:00:00 2001 From: Po Hu Date: Wed, 23 Feb 2022 07:28:11 +0000 Subject: [PATCH] Fix ota_from_target_files error in non-AB VF Add recovery-from-boot.p for device with BOARD_USES_FULL_RECOVERY_IMAGE disabled Bug: 219871887 Change-Id: Id4bafaa44afe28f57e0a35846012073307965940 Test: Used to merge non-AB VF device --- tools/releasetools/merge_target_files.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/releasetools/merge_target_files.py b/tools/releasetools/merge_target_files.py index 1318e372aa..7324b07a59 100755 --- a/tools/releasetools/merge_target_files.py +++ b/tools/releasetools/merge_target_files.py @@ -1432,6 +1432,7 @@ def rebuild_image_with_sepolicy(target_files_dir, if rebuild_recovery: copy_recovery_file('etc/recovery.img') copy_recovery_file('bin/install-recovery.sh') + copy_recovery_file('recovery-from-boot.p') def generate_super_empty_image(target_dir, output_super_empty):