diff options
Diffstat (limited to 'yocto-poky/meta/classes/gummiboot.bbclass')
-rw-r--r-- | yocto-poky/meta/classes/gummiboot.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yocto-poky/meta/classes/gummiboot.bbclass b/yocto-poky/meta/classes/gummiboot.bbclass index 3d9c08bbc..9a97ac175 100644 --- a/yocto-poky/meta/classes/gummiboot.bbclass +++ b/yocto-poky/meta/classes/gummiboot.bbclass @@ -46,7 +46,8 @@ efi_iso_populate() { mkdir -p ${EFIIMGDIR}/${EFIDIR} cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR} cp $iso_dir/vmlinuz ${EFIIMGDIR} - echo "${DEST_EFI_IMAGE}" > ${EFIIMGDIR}/startup.nsh + EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g') + echo "fs0:${EFIPATH}\\${DEST_EFI_IMAGE}" > ${EFIIMGDIR}/startup.nsh if [ -f "$iso_dir/initrd" ] ; then cp $iso_dir/initrd ${EFIIMGDIR} fi |