[oe-commits] [openembedded-core] 23/56: grub-efi.bbclass: also write startup.nsh for non-iso
git at git.openembedded.org
git at git.openembedded.org
Mon May 30 08:38:46 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit ec8dc34f974ddda420bddbd195fb344e3db46cab
Author: Christopher Larson <chris_larson at mentor.com>
AuthorDate: Wed May 25 13:31:50 2016 -0700
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 <chris_larson at mentor.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/grub-efi.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index d0ae6c9..b8c20dd 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
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list