Skip to content

Commit 9536830

Browse files
committed
Verify sha256sums of some binary dependencies
debos has an outstanding feature request to make this integrated in go-debos/debos#120. In the meantime, we can do this manually by invoking sha256sum in check mode directly. We're downloading qcom-ptool directly from the tip of the main branch, so verifying that download seems less practical. In future, we could tag a release there, and then pin to that, at which point verifying the hash of the result would make more sense. Signed-off-by: Robie Basak <[email protected]>
1 parent 56c482d commit 9536830

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ actions:
2121
url: https://releases.linaro.org/96boards/rb1/linaro/rescue/23.12/rb1-bootloader-emmc-linux-47528.zip
2222
name: qrb2210-rb1_rescue-image.zip
2323
filename: qrb2210-rb1_rescue-image.zip
24+
- action: run
25+
description: Verify download
26+
chroot: false
27+
command: echo c75b6c63eb24c8ca36dad08ba4d4e93f3f4cd7dce60cf1b6dfb5790dc181cc3d ${ROOTDIR}/../qrb2210-rb1_rescue-image.zip|sha256sum --strict -c -
2428
{{- end }}
2529

2630
{{- if eq $build_qcm6490 "true" }}
@@ -29,6 +33,10 @@ actions:
2933
url: https://softwarecenter.qualcomm.com/download/software/chip/qualcomm_linux-spf-1-0/qualcomm-linux-spf-1-0_test_device_public/r1.0_00095.0/qcm6490-le-1-0/common/build/ufs/bin/QCM6490_bootbinaries.zip
3034
name: qcm6490_boot-binaries
3135
filename: qcm6490_boot-binaries.zip
36+
- action: run
37+
description: Verify download
38+
chroot: false
39+
command: echo 9c100d7b184ecf0ab9c4be71a8bb7c243fdc79a64380ca3025024dd2b14c5078 ${ROOTDIR}/../qcm6490_boot-binaries.zip|sha256sum --strict -c -
3240
{{- end }}
3341

3442
{{- if eq $build_qcm6490 "true" }}
@@ -37,6 +45,10 @@ actions:
3745
url: https://artifacts.codelinaro.org/artifactory/codelinaro-le/Qualcomm_Linux/QCS6490/cdt/rb3gen2-vision-kit.zip
3846
name: qcs6490-rb3gen2-vision-kit_cdt
3947
filename: qcs6490-rb3gen2-vision-kit_cdt.zip
48+
- action: run
49+
description: Verify download
50+
chroot: false
51+
command: echo a339e297b454c4dc3805fe8cd11d6d8dcb801aa8f0c2dc691561c2785019fa3c ${ROOTDIR}/../qcs6490-rb3gen2-vision-kit_cdt.zip|sha256sum --strict -c -
4052
{{- end }}
4153

4254
- action: run

0 commit comments

Comments
 (0)