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
+ 18
20
Compare changes
  • Side-by-side
  • Inline
@@ -6,6 +6,7 @@
{{- $ospack := or .ospack (printf "ospack_%s-%s-%s" $suite $architecture $type) -}}
{{- $ivitools := or .ivitools "enabled" -}}
{{- $lxc := or .lxc "disabled" -}}
{{- $pack := or .pack "true" -}}
architecture: {{ $architecture }}
@@ -283,6 +284,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
@@ -296,3 +298,4 @@ actions:
- action: pack
compression: gz
file: {{ $ospack }}.tar.gz
{{- end }}
Loading