Skip to content

Commit 2879a06

Browse files
committed
flash: Drop BLANK_GPT and WIPE_PARTITIONS files
These can lead to confusing situations when flashing rawprogram*.xml. Signed-off-by: Loïc Minier <[email protected]>
1 parent ca980ea commit 2879a06

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

debos-recipes/qualcomm-linux-debian-flash.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ actions:
5656
# copy platform partition files
5757
cp --preserve=mode,timestamps -v build/qcm6490_partitions/* \
5858
"${flash_dir}"
59+
# remove BLANK_GPT and WIPE_PARTITIONS files as it's common for people
60+
# to run "qdl rawprogram*.xml", mistakingly including these; perhaps
61+
# ptool should have a flag not to generate these; note that there are
62+
# wipe_rawprogram*.xml files still
63+
rm -v "${flash_dir}"/rawprogram*_BLANK_GPT.xml
64+
rm -v "${flash_dir}"/rawprogram*_WIPE_PARTITIONS.xml
5965
# copy platform boot binaries; these shouldn't ship partition files, but
6066
# make sure not to accidentally clobber any such file
6167
find build/qcm6490_boot-binaries \

0 commit comments

Comments
 (0)