fixup! Support generating partial OTAs from extracted target_files

Test: Sign crosshatch
Change-Id: I6728da3a3a50ee24a35581af7e6ead3e13c5ff1d
This commit is contained in:
Chirayu Desai
2024-04-19 02:46:47 +05:30
parent b24b46d43f
commit c8edf8af33

View File

@@ -745,7 +745,7 @@ def GetTargetFilesZipForRetrofitDynamicPartitions(input_file,
os.rename(source_path, target_path)
# Write new ab_partitions.txt file
new_ab_partitions = os.paht.join(input_file, AB_PARTITIONS)
new_ab_partitions = os.path.join(input_file, AB_PARTITIONS)
with open(new_ab_partitions, 'w') as f:
for partition in ab_partitions:
if (partition in dynamic_partition_list and