Fix Yellow's post-install hook for config.txt migration (#3671)

The hook was missing in the manifest, enable it conditionally for Yellow and
add reminder to remove it once it's not needed.
This commit is contained in:
Jan Čermák 2024-11-14 09:44:12 +01:00 committed by GitHub
parent b28dd8c4c4
commit 9dfbdd9d12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,11 @@ hooks=install-check;
[image.boot]
filename=boot.vfat
{{- if eq (env "ota_compatible") "haos-yellow" }}
hooks=install;post-install;
{{- else }}
hooks=install;
{{- end }}
[image.kernel]
filename=kernel.img

View File

@ -91,7 +91,7 @@ check_grubenv() {
post_install_boot() {
BOOT_MNT=/mnt/boot
# Add CM5 support for Yellow. Can be removed in HAOS 15.
# Add CM5 support for Yellow. Can be removed in HAOS 15. Make sure manifest.raucm.gtpl is updated.
if [ "$RAUC_SYSTEM_COMPATIBLE" = "haos-yellow" ]; then
# Mount boot
if ! systemctl -q is-active mnt-boot.mount; then