1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2025-12-20 02:18:37 +00:00

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.
This commit is contained in:
Jan Čermák
2024-11-14 16:07:16 +01:00
committed by GitHub
parent 9dfbdd9d12
commit b9e66fbfd0

View File

@@ -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 }}