Fix recovery OTA error on merged targets

Currently, when merging target files, system side's update_engine
version info is copied into the merged target_files. This causes
recovery OTA failure, because update_engine_sideload daemon in recovery
is from vendor side. To fix it, use the older version of update_engine
config when merging target files.

Test: th
Bug: 257426678
Change-Id: I5d3304366749995c99a61ca0645a22ee047f1465
This commit is contained in:
Kelvin Zhang
2022-11-09 10:59:25 -08:00
parent a56bce6ef1
commit fa40c04cba
3 changed files with 48 additions and 2 deletions

View File

@@ -178,7 +178,6 @@ def InferItemList(input_namelist, framework):
item_set.update([
'META/liblz4.so',
'META/postinstall_config.txt',
'META/update_engine_config.txt',
'META/zucchini_config.txt',
])
else: # vendor