* Add tempio host package tempio is a template helper using Go's template engine and sprig functions. * Use tempio to generate rauc manifest * Use tempio to generate rauc system.conf
27 lines
405 B
Groovy
27 lines
405 B
Groovy
[update]
|
|
compatible={{ env "ota_compatible" }}
|
|
version={{ env "ota_version" }}
|
|
|
|
[hooks]
|
|
filename=hook
|
|
hooks=install-check;
|
|
|
|
[image.boot]
|
|
filename=boot.vfat
|
|
hooks=install;
|
|
|
|
[image.kernel]
|
|
filename=kernel.img
|
|
{{- if eq (env "BOOTLOADER") "grub" }}
|
|
hooks=post-install;
|
|
{{- end }}
|
|
|
|
[image.rootfs]
|
|
filename=rootfs.img
|
|
|
|
{{- if eq (env "BOOT_SPL") "true" }}
|
|
[image.spl]
|
|
filename=spl.img
|
|
hooks=install
|
|
{{- end }}
|