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
3 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 31
0
{{- $architecture := "armhf" }}
{{- $type := "minimal" }}
{{- $mirror := "https://repositories.apertis.org/apertis/" }}
{{- $suite := "v2019dev0" }}
{{- $timestamp := "00000000.0" }}
{{- $image := (printf "apertis-sample-development-%s-%s-%s_%s" $suite $type $architecture $timestamp) }}
architecture: {{ $architecture }}
actions:
- action: recipe
description: Create ospack for {{ $suite }} {{ $type }} {{ $architecture }}
recipe: apertis-ospack-{{ $type }}.yaml
variables:
type: {{ $type }}
mirror: {{ $mirror }}
suite: {{ $suite }}
timestamp: {{ $timestamp }}
pack: false
# Package up everything in a image
- action: recipe
description: Create image {{ $image }} for {{ $suite }} {{ $type }} {{ $architecture }}
recipe: apertis-image-uboot.yaml
variables:
type: {{ $type }}
mirror: {{ $mirror }}
suite: {{ $suite }}
timestamp: {{ $timestamp }}
image: {{ $image }}
unpack: false
Loading