fixup! Support generating partial OTAs from extracted target_files
Test: Sign crosshatch Change-Id: I6728da3a3a50ee24a35581af7e6ead3e13c5ff1d
This commit is contained in:
@@ -745,7 +745,7 @@ def GetTargetFilesZipForRetrofitDynamicPartitions(input_file,
|
|||||||
os.rename(source_path, target_path)
|
os.rename(source_path, target_path)
|
||||||
|
|
||||||
# Write new ab_partitions.txt file
|
# 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:
|
with open(new_ab_partitions, 'w') as f:
|
||||||
for partition in ab_partitions:
|
for partition in ab_partitions:
|
||||||
if (partition in dynamic_partition_list and
|
if (partition in dynamic_partition_list and
|
||||||
|
Reference in New Issue
Block a user