Skip to content
Snippets Groups Projects

Add example recipes to build a single image

Merged Frederic Danis requested to merge fdanis/apertis-image-recipes:T5675 into apertis/v2019dev0
1 unresolved thread
Files
3
@@ -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
Loading