Add all apexes to apex_info
Previously, META/apex_info.pb contained only /system/apex apexes. Now, it has all apexes from all possible partitions. The main purpose of this file is to caculate the decompressed apex size when applying OTA. Hence it should have all apexes, not just system apexes. Bug: 320228659 Test: m dist # check META/apex_info.pb Change-Id: I3428dc502e4fe3336d1fc5ca941f1fbc332985cd
This commit is contained in:
@@ -190,8 +190,8 @@ def CheckApexDuplicatePackages(target_files_dir, partition_map):
|
||||
apex_packages = set()
|
||||
for partition in partition_map.keys():
|
||||
try:
|
||||
apex_info = apex_utils.GetApexInfoFromTargetFiles(
|
||||
target_files_dir, partition, compressed_only=False)
|
||||
apex_info = apex_utils.GetApexInfoForPartition(
|
||||
target_files_dir, partition)
|
||||
except RuntimeError as err:
|
||||
errors.append(str(err))
|
||||
apex_info = []
|
||||
|
Reference in New Issue
Block a user