Skip to content
Snippets Groups Projects
Commit 85193876 authored by Frédéric Dalleau's avatar Frédéric Dalleau
Browse files

Add an overlay to reset the uboot bootcount


It is installed only on apt style images using uboot.
It uses tmpfiles.d

Signed-off-by: default avatarFrédéric Dalleau <frederic.dalleau@collabora.com>
parent 10dcf785
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,9 @@ actions:
file: {{ $ospack }}.tar.gz
{{- end }}
- action: overlay
source: overlays/reset-uboot-bootcount
# Add multimedia demo pack
# Provide URL via '-t demopack:"https://images.apertis.org/media/multimedia-demo.tar.gz"'
# to add multimedia demo files
......
# tmpfiles.d snipped to reset the bootcount
# /boot/uboot.cnt does not need to have any content
# uboot finds the empty file, mentions the error and boots normally
# The tmpfiles.d overwrites whatever u-boot will have written
F /boot/uboot.cnt - - - -
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment