Skip to content
Snippets Groups Projects
Commit 600c8f24 authored by Frederic Danis's avatar Frederic Danis
Browse files

Add comments to recipe samples


Signed-off-by: default avatarFrédéric Danis <frederic.danis@collabora.com>
parent 7f91061b
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !91. Comments created here will be created in the context of that merge request.
......@@ -11,6 +11,7 @@
architecture: {{ $architecture }}
actions:
# Create DevRoot ospack to be included in the Base SDK image
- action: recipe
description: Create devroot ospack for {{ $devroot_arch }}
recipe: apertis-ospack-devroot.yaml
......@@ -22,11 +23,13 @@ actions:
timestamp: {{ $timestamp }}
ospack: {{ $devpack }}
# Reset the rootfs from previous action to start Base SDK build from a clean rootfs
- action: run
description: Reset rootfs
chroot: false
command: find ${ROOTDIR} -maxdepth 1 -mindepth 1 -exec rm -rf {} \;
# Create base rootfs for the Base SDK
- action: recipe
description: Create ospack for {{ $suite }} {{ $type }} {{ $architecture }}
recipe: apertis-ospack-{{ $type }}.yaml
......@@ -36,6 +39,7 @@ actions:
suite: {{ $suite }}
timestamp: {{ $timestamp }}
# Create the Base SDK image based on OSTree rootfs created during previous action
- action: recipe
description: Create image {{ $image }} for {{ $suite }} {{ $type }} {{ $architecture }}
recipe: apertis-image-sdk.yaml
......
......@@ -17,6 +17,7 @@ actions:
suite: {{ $suite }}
timestamp: {{ $timestamp }}
# Create the MX6 SabreLite image based on rootfs created during previous action
- action: recipe
description: Create image {{ $image }} for {{ $suite }} {{ $type }} {{ $architecture }}
recipe: apertis-image-mx6qsabrelite.yaml
......
......@@ -19,6 +19,7 @@ actions:
chroot: false
command: ostree init --mode archive --repo=${ARTIFACTDIR}/{{ $ostree }}
# Create base rootfs
- action: recipe
description: Create ospack for {{ $suite }} {{ $type }} {{ $architecture }}
recipe: apertis-ospack-{{ $type }}.yaml
......@@ -28,6 +29,7 @@ actions:
suite: {{ $suite }}
timestamp: {{ $timestamp }}
# Adapt and commit OSTree based on rootfs created during previous action
- action: recipe
description: OSTree commit for {{ $suite }} {{ $type }} {{ $architecture }}
recipe: apertis-ostree-commit.yaml
......@@ -39,11 +41,13 @@ actions:
branch: {{ $branch }}
ostree: {{ $ostree }}
# Reset the rootfs to allow to deploy OSTree from a clean rootfs
- action: run
description: Reset rootfs before deploying OSTree
chroot: false
command: find ${ROOTDIR} -maxdepth 1 -mindepth 1 -exec rm -rf {} \;
# Create the U-Boot image based on OSTree rootfs created during previous action
- action: recipe
description: Create image {{ $image }} for {{ $suite }} {{ $type }} {{ $architecture }}
recipe: apertis-ostree-image-uboot.yaml
......
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