summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2016-05-25 13:31:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-30 15:58:12 +0100
commit837670e8ea2265010a8e0c8eb9ef777d17655ba9 (patch)
tree00daecbd6d61c10dff23031d550a9833fd2388ca /meta
parentdbee7aed3d1a21dac503de8997ae4ec805990530 (diff)
downloadpoky-837670e8ea2265010a8e0c8eb9ef777d17655ba9.tar.gz
gummiboot.bbclass: also write startup.nsh for non-iso
wic will be needing this for its bootimg-efi plugin. [YOCTO #9556] (From OE-Core rev: 43ca968c5af129a990625923bc28131b8701386d) 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')
-rw-r--r--meta/classes/gummiboot.bbclass2
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() {
34 install -d ${DEST}/loader 34 install -d ${DEST}/loader
35 install -d ${DEST}/loader/entries 35 install -d ${DEST}/loader/entries
36 install -m 0644 ${DEPLOY_DIR_IMAGE}/${EFI_IMAGE} ${DEST}${EFIDIR}/${DEST_EFI_IMAGE} 36 install -m 0644 ${DEPLOY_DIR_IMAGE}/${EFI_IMAGE} ${DEST}${EFIDIR}/${DEST_EFI_IMAGE}
37 EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
38 printf 'fs0:%s\%s\n' "$EFIPATH" "$DEST_EFI_IMAGE" >${DEST}/startup.nsh
37 install -m 0644 ${GUMMIBOOT_CFG} ${DEST}/loader/loader.conf 39 install -m 0644 ${GUMMIBOOT_CFG} ${DEST}/loader/loader.conf
38 for i in ${GUMMIBOOT_ENTRIES}; do 40 for i in ${GUMMIBOOT_ENTRIES}; do
39 install -m 0644 ${i} ${DEST}/loader/entries 41 install -m 0644 ${i} ${DEST}/loader/entries