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
1 file
+ 9
9
Compare changes
  • Side-by-side
  • Inline
@@ -5,6 +5,7 @@
{{- $timestamp := or .timestamp "" -}}
{{- $ospack := or .ospack (printf "ospack_%s-%s-%s" $suite $architecture $type) -}}
{{- $lxc := or .lxc "enabled" -}}
{{- $pack := or .pack "true" -}}
architecture: {{ $architecture }}
@@ -174,6 +175,7 @@ actions:
description: "Drop resolv.conf so the appropriate one gets created at runtime"
command: rm "${ROOTDIR}/etc/resolv.conf"
{{- if eq $pack "true" }}
- action: run
description: "Save installed package status"
chroot: false
@@ -187,3 +189,4 @@ actions:
- action: pack
compression: gz
file: {{ $ospack }}.tar.gz
{{- end }}
Loading