Skip to content

Commit 0125a5c

Browse files
committed
debos: rootfs: Update Android boot count
Mark Android boot partition as successfully booted as to prevent the Android bootloader from going to the secondary or recovery boot partitions. Signed-off-by: Loïc Minier <[email protected]>
1 parent e0fe992 commit 0125a5c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,15 @@ actions:
191191
/etc/apt/sources.list.d/debian-experimental.sources
192192
{{- end }}
193193

194+
# this is currently needed on boards such as RB1 which are using Android
195+
# bootloader to check the boot count of the boot_a/boot_b partitions
196+
- action: apt
197+
description: Support boards chainloading from Android bootloader
198+
recommends: true
199+
packages:
200+
# marks the current Android boot partition as booted successfully
201+
- qbootctl
202+
194203
{{- if ne $localdebs "none" }}
195204
- action: overlay
196205
description: Overlay local debs directory {{ $localdebs }} to /root/

0 commit comments

Comments
 (0)