summaryrefslogtreecommitdiffstats
path: root/meta/classes/grub-efi.bbclass
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2016-05-25 13:31:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-30 15:58:12 +0100
commitdbee7aed3d1a21dac503de8997ae4ec805990530 (patch)
treec09be4789ace2508bcf3610df67d2e6d7f017247 /meta/classes/grub-efi.bbclass
parentaffb439e8b58448de2f234a748c1133d5fa04172 (diff)
downloadpoky-dbee7aed3d1a21dac503de8997ae4ec805990530.tar.gz
grub-efi.bbclass: also write startup.nsh for non-iso
wic will be needing this for its bootimg-efi plugin. [YOCTO #9556] (From OE-Core rev: ec8dc34f974ddda420bddbd195fb344e3db46cab) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/grub-efi.bbclass')
-rw-r--r--meta/classes/grub-efi.bbclass2
1 files changed, 2 insertions, 0 deletions
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() {
45 GRUB_IMAGE="bootx64.efi" 45 GRUB_IMAGE="bootx64.efi"
46 fi 46 fi
47 install -m 0644 ${DEPLOY_DIR_IMAGE}/${GRUB_IMAGE} ${DEST}${EFIDIR} 47 install -m 0644 ${DEPLOY_DIR_IMAGE}/${GRUB_IMAGE} ${DEST}${EFIDIR}
48 EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
49 printf 'fs0:%s\%s\n' "$EFIPATH" "$GRUB_IMAGE" >${DEST}/startup.nsh
48 50
49 install -m 0644 ${GRUB_CFG} ${DEST}${EFIDIR}/grub.cfg 51 install -m 0644 ${GRUB_CFG} ${DEST}${EFIDIR}/grub.cfg
50} 52}