From d78421a362cb7ca8eeb75852f74f9760f7851356 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 61e2fc6fb8..0c0dfe0bb0 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}"