mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
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 <jlecuirot@microsoft.com>
This commit is contained in:
parent
617decbbc3
commit
d78421a362
@ -75,7 +75,9 @@ esac
|
|||||||
info "Updating GRUB in ${BOARD_ROOT}"
|
info "Updating GRUB in ${BOARD_ROOT}"
|
||||||
emerge-${BOARD} \
|
emerge-${BOARD} \
|
||||||
--nodeps --select --verbose --update --getbinpkg --usepkgonly --newuse \
|
--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}"
|
GRUB_SRC="${BOARD_ROOT}/usr/lib/grub/${FLAGS_target}"
|
||||||
[[ -d "${GRUB_SRC}" ]] || die "GRUB not installed at ${GRUB_SRC}"
|
[[ -d "${GRUB_SRC}" ]] || die "GRUB not installed at ${GRUB_SRC}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user