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

Add an empty u-boot environment to mx6qsabrelite images


The Apertis update manager needs a valid u-boot environment to handle
the rollback. Do it an image generation so that every image
distributed already have a valid env.

Signed-off-by: default avatarFrédéric Dalleau <frederic.dalleau@collabora.com>
parent fd424d7d
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !73. Comments created here will be created in the context of that merge request.
......@@ -100,6 +100,17 @@ actions:
source: /usr/lib/u-boot/mx6qsabrelite/u-boot.imx
offset: {{ sector 2 }}
- action: run
description: Create defaut environment for u-boot
chroot: false
command: echo "bootcount=0" > ${ARTIFACTDIR}/u-boot-env.txt ; mkenvimage -s 0x2000 -o ${ARTIFACTDIR}/u-boot.env ${ARTIFACTDIR}/u-boot-env.txt
- action: raw
description: Install U-Boot environment
origin: filesystem
source: ${ARTIFACTDIR}/u-boot.env
offset: 0xC0000
- action: run
description: "Save installed package status"
chroot: false
......
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