diff options
author | Christopher Larson <chris_larson@mentor.com> | 2016-05-25 13:31:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-30 09:30:31 +0100 |
commit | 43ca968c5af129a990625923bc28131b8701386d (patch) | |
tree | 6fe3c50f39db04785cabe1d221a8ca0b3567bfbd /meta/classes | |
parent | ec8dc34f974ddda420bddbd195fb344e3db46cab (diff) | |
download | openembedded-core-43ca968c5af129a990625923bc28131b8701386d.tar.gz openembedded-core-43ca968c5af129a990625923bc28131b8701386d.tar.bz2 openembedded-core-43ca968c5af129a990625923bc28131b8701386d.zip |
gummiboot.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@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/gummiboot.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/gummiboot.bbclass b/meta/classes/gummiboot.bbclass index 1ebb9462d3..14fa4cfaa0 100644 --- a/meta/classes/gummiboot.bbclass +++ b/meta/classes/gummiboot.bbclass @@ -34,6 +34,8 @@ efi_populate() { install -d ${DEST}/loader install -d ${DEST}/loader/entries install -m 0644 ${DEPLOY_DIR_IMAGE}/${EFI_IMAGE} ${DEST}${EFIDIR}/${DEST_EFI_IMAGE} + EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g') + printf 'fs0:%s\%s\n' "$EFIPATH" "$DEST_EFI_IMAGE" >${DEST}/startup.nsh install -m 0644 ${GUMMIBOOT_CFG} ${DEST}/loader/loader.conf for i in ${GUMMIBOOT_ENTRIES}; do install -m 0644 ${i} ${DEST}/loader/entries |