diff --git a/buildroot-external/ota/manifest.raucm.gtpl b/buildroot-external/ota/manifest.raucm.gtpl index a3cff3f9c0a..84628f1afea 100644 --- a/buildroot-external/ota/manifest.raucm.gtpl +++ b/buildroot-external/ota/manifest.raucm.gtpl @@ -19,8 +19,7 @@ hooks=install; [image.kernel] filename=kernel.img -{{- $bootloader := (env "BOOTLOADER") }} -{{- if or (eq $bootloader "grub") (eq $bootloader "tryboot") }} +{{- if eq (env "BOOTLOADER") "tryboot" }} hooks=post-install; {{- end }}