From 2305e809f7d8d8d4f4fd1d2b4943f04659bc2a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Thu, 14 Nov 2024 09:45:30 +0100 Subject: [PATCH] Remove unnecessary kernel post-install hook for GRUB-based targets 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 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 }}