build_library/grub.cfg: Enable grub fallback behavior

With secure boot a failed shim signature check will leave us stuck in grub.
Enable automatic fallback in that case.
This commit is contained in:
Jeremi Piotrowski 2024-09-09 20:26:14 +02:00
parent 580c181df8
commit be652a29d5

View File

@ -9,6 +9,9 @@ insmod all_video
# Default menuentry id and boot timeout # Default menuentry id and boot timeout
set default="flatcar" set default="flatcar"
# Retry default boot entry - this will decrement the gpt tries counter and
# switch to previous entry when all attempts are exhausted.
set fallback="0 0 0"
set timeout=1 set timeout=1
# Default kernel args for root filesystem, console, and Flatcar. # Default kernel args for root filesystem, console, and Flatcar.