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
+ 35
0
{{- $architecture := "amd64" }}
{{- $type := "basesdk" }}
{{- $mirror := "https://repositories.apertis.org/apertis/" }}
{{- $suite := "v2019dev0" }}
{{- $timestamp := "00000000.0" }}
{{- $image := (printf "apertis-sample-sdk-%s-%s-%s_%s" $suite $type $architecture $timestamp) }}
{{- $devrootpack := or .devrootpack "disabled" }}
architecture: {{ $architecture }}
actions:
# Create base rootfs for the Base SDK
- 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 for VirtualBox
- action: recipe
description: Create image {{ $image }} for {{ $suite }} {{ $type }} {{ $architecture }}
recipe: apertis-image-sdk.yaml
variables:
type: {{ $type }}
mirror: {{ $mirror }}
suite: {{ $suite }}
timestamp: {{ $timestamp }}
image: {{ $image }}
devrootpack: {{ $devrootpack }}
unpack: false
Loading