Skip to content

Commit c58a215

Browse files
committed
debos: flash: Use build_rb1 in conditions
Signed-off-by: Loïc Minier <[email protected]>
1 parent d58f3a8 commit c58a215

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{- $build_rb1 := "false" -}}
22
{{- if .u_boot_rb1 -}}
3-
{{- $build_rb1 := "true" }}
3+
{{- $build_rb1 = "true" }}
44
{{- end -}}
55

66
architecture: arm64
@@ -13,7 +13,7 @@ actions:
1313
filename: qcom-ptool.tar.gz
1414
unpack: true
1515

16-
{{- if .u_boot_rb1 }}
16+
{{- if eq $build_rb1 "true" }}
1717
# TODO: consider switching to https://releases.linaro.org/96boards/rb1/qualcomm/firmware/RB1_firmware_20231124-v4.zip instead
1818
- action: download
1919
description: Download RB1 rescue image
@@ -45,7 +45,7 @@ actions:
4545
# path to unpacked qcom-ptool tarball
4646
QCOM_PTOOL="${ROOTDIR}/../qcom-ptool.tar.gz.d/qcom-ptool-main"
4747
48-
{{- if .u_boot_rb1 }}
48+
{{- if eq $build_rb1 "true" }}
4949
### board: qrb2210-rb1
5050
# unpack rescue image
5151
unzip -j "${ROOTDIR}/../qrb2210-rb1_rescue-image.zip" \

0 commit comments

Comments
 (0)