Skip to content

Commit

Permalink
Remove unnecessary kernel post-install hook for GRUB-based targets (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
sairon authored Nov 14, 2024
1 parent 9dfbdd9 commit b9e66fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions buildroot-external/ota/manifest.raucm.gtpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit b9e66fb

Please sign in to comment.