From b2e5ae4b56ca22bee8ce8f55f495da51cbcc0679 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Thu, 25 Nov 2021 12:10:29 +0800 Subject: [PATCH] Revert "grub-efi: Remove $cmdpath from configuration for for grub-mkimage" This reverts commit 5fcb2f0e67fa3f3607f65e317330cc8e045f1106. $cmdpath is an important grub environment variable. Remove it will cause the boot failure. Signed-off-by: Yi Zhao --- .../recipes-bsp/grub/grub-efi-efi-secure-boot.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc index a122fdc..4ce638a 100644 --- a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc +++ b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc @@ -89,7 +89,7 @@ EOF > ${WORKDIR}/cfg fi cat<>${WORKDIR}/cfg -search.file ${GRUB_PREFIX_DIR}/grub.cfg root +search.file (\$cmdpath)${GRUB_PREFIX_DIR}/grub.cfg root set prefix=(\$root)${GRUB_PREFIX_DIR} EOF }