1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-04-18 07:56:19 +01:00
Files
operating-system/buildroot-external/ota/manifest.raucm.gtpl
Jan Čermák 78cdaab597 Merge Yellow's RAUC post-install hook with the install hook (#3678)
As stated in the docs [1], post-install hook is not executed if the slot
already has an install hook defined. Merge the post-install hook with the
install hook to fix CM5 migration for Yellow.

[1] https://rauc.readthedocs.io/en/latest/using.html#slot-hooks
2024-11-18 12:51:58 +01:00

30 lines
432 B
Groovy

[update]
compatible={{ env "ota_compatible" }}
version={{ env "ota_version" }}
[bundle]
format=verity
[hooks]
filename=hook
hooks=install-check;
[image.boot]
filename=boot.vfat
hooks=install;
[image.kernel]
filename=kernel.img
{{- if eq (env "BOOTLOADER") "tryboot" }}
hooks=post-install;
{{- end }}
[image.rootfs]
filename=rootfs.img
{{- if eq (env "BOOT_SPL") "true" }}
[image.spl]
filename=spl.img
hooks=install
{{- end }}