Skip to content

Commit abf334c

Browse files
authored
Merge pull request qualcomm-linux#39 from vkraleti/gpt-fix
Fix GPT file names to use .bin extension in gen_contents.py
2 parents 4a042e0 + 2bb8035 commit abf334c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gen_contents.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ def _add_file_elements(parent_element, pathname, file_path_flavor=None):
7878
for PhysicalPartitionNumber in range(0, len(PhyPartition)):
7979
new_download_file = ET.SubElement(build, "download_file")
8080
new_download_file.set("storage_type", DefaultStorageType)
81-
_add_file_elements(new_download_file, 'gpt_main%d.xml' % (PhysicalPartitionNumber))
81+
_add_file_elements(new_download_file, 'gpt_main%d.bin' % (PhysicalPartitionNumber))
8282
new_download_file = ET.SubElement(build, "download_file")
8383
new_download_file.set("storage_type", DefaultStorageType)
84-
_add_file_elements(new_download_file, 'gpt_backup%d.xml' % (PhysicalPartitionNumber))
84+
_add_file_elements(new_download_file, 'gpt_backup%d.bin' % (PhysicalPartitionNumber))
8585

8686
PartitionFile = build.find('partition_file')
8787
if PartitionFile is not None:

0 commit comments

Comments
 (0)