From b9e66fbfd04d81f111242a3e8f57e5615c8b5a84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Thu, 14 Nov 2024 16:07:16 +0100 Subject: [PATCH] Remove unnecessary kernel post-install hook for GRUB-based targets (#3672) The code for this hook was removed in #3457 but it wasn't removed from the manifest. Remove it to avoid unnecessary execution of the hook. --- buildroot-external/ota/manifest.raucm.gtpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildroot-external/ota/manifest.raucm.gtpl b/buildroot-external/ota/manifest.raucm.gtpl index a3cff3f9c..84628f1af 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 }}