From: Christopher Larson Date: Wed, 25 May 2016 20:31:50 +0000 (-0700) Subject: grub-efi.bbclass: also write startup.nsh for non-iso X-Git-Tag: uninative-1.3~941 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ec8dc34f974ddda420bddbd195fb344e3db46cab;p=openembedded-core.git grub-efi.bbclass: also write startup.nsh for non-iso wic will be needing this for its bootimg-efi plugin. [YOCTO #9556] Signed-off-by: Christopher Larson Signed-off-by: Ross Burton --- diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass index d0ae6c90f8..b8c20dd8a6 100644 --- a/meta/classes/grub-efi.bbclass +++ b/meta/classes/grub-efi.bbclass @@ -45,6 +45,8 @@ efi_populate() { GRUB_IMAGE="bootx64.efi" fi install -m 0644 ${DEPLOY_DIR_IMAGE}/${GRUB_IMAGE} ${DEST}${EFIDIR} + EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g') + printf 'fs0:%s\%s\n' "$EFIPATH" "$GRUB_IMAGE" >${DEST}/startup.nsh install -m 0644 ${GRUB_CFG} ${DEST}${EFIDIR}/grub.cfg }