[oe-commits] [openembedded-core] 24/56: gummiboot.bbclass: also write startup.nsh for non-iso

git at git.openembedded.org git at git.openembedded.org
Mon May 30 08:38:47 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 43ca968c5af129a990625923bc28131b8701386d
Author: Christopher Larson <chris_larson at mentor.com>
AuthorDate: Wed May 25 13:31:51 2016 -0700

    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 at mentor.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/gummiboot.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/gummiboot.bbclass b/meta/classes/gummiboot.bbclass
index 1ebb946..14fa4cf 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list