From 2879a0667d57cda3a1025bd7631627fa8398919a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Sun, 13 Apr 2025 14:58:50 +0200 Subject: [PATCH] flash: Drop BLANK_GPT and WIPE_PARTITIONS files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These can lead to confusing situations when flashing rawprogram*.xml. Signed-off-by: Loïc Minier --- debos-recipes/qualcomm-linux-debian-flash.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debos-recipes/qualcomm-linux-debian-flash.yaml b/debos-recipes/qualcomm-linux-debian-flash.yaml index 6565d824..e2c11c2d 100644 --- a/debos-recipes/qualcomm-linux-debian-flash.yaml +++ b/debos-recipes/qualcomm-linux-debian-flash.yaml @@ -56,6 +56,12 @@ actions: # copy platform partition files cp --preserve=mode,timestamps -v build/qcm6490_partitions/* \ "${flash_dir}" + # remove BLANK_GPT and WIPE_PARTITIONS files as it's common for people + # to run "qdl rawprogram*.xml", mistakingly including these; perhaps + # ptool should have a flag not to generate these; note that there are + # wipe_rawprogram*.xml files still + rm -v "${flash_dir}"/rawprogram*_BLANK_GPT.xml + rm -v "${flash_dir}"/rawprogram*_WIPE_PARTITIONS.xml # copy platform boot binaries; these shouldn't ship partition files, but # make sure not to accidentally clobber any such file find build/qcm6490_boot-binaries \