From c6fa3d7afa4ca14c0e53463afca26f0568b26f30 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 28 May 2025 17:46:06 +0100 Subject: [PATCH] grub_install.sh: Ensure shim packages are installed Without these, build_image will fail in a fresh SDK instance. Signed-off-by: James Le Cuirot --- build_library/grub_install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build_library/grub_install.sh b/build_library/grub_install.sh index 03e33d2cfc..bd540911d7 100755 --- a/build_library/grub_install.sh +++ b/build_library/grub_install.sh @@ -75,7 +75,9 @@ esac info "Updating GRUB in ${BOARD_ROOT}" emerge-${BOARD} \ --nodeps --select --verbose --update --getbinpkg --usepkgonly --newuse \ - sys-boot/grub + sys-boot/grub \ + sys-boot/shim \ + sys-boot/shim-signed GRUB_SRC="${BOARD_ROOT}/usr/lib/grub/${FLAGS_target}" [[ -d "${GRUB_SRC}" ]] || die "GRUB not installed at ${GRUB_SRC}"