summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/grub-efi.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index ae8ee382cd..178d0c8350 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -59,7 +59,7 @@ efi_iso_populate() {
59 cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR} 59 cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR}
60 cp $iso_dir/vmlinuz ${EFIIMGDIR} 60 cp $iso_dir/vmlinuz ${EFIIMGDIR}
61 EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g') 61 EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
62 echo "fs0:${EFIPATH}\\${GRUB_IMAGE}" > ${EFIIMGDIR}/startup.nsh 62 printf 'fs0:%s\%s\n' "$EFIPATH" "$GRUB_IMAGE" > ${EFIIMGDIR}/startup.nsh
63 if [ -f "$iso_dir/initrd" ] ; then 63 if [ -f "$iso_dir/initrd" ] ; then
64 cp $iso_dir/initrd ${EFIIMGDIR} 64 cp $iso_dir/initrd ${EFIIMGDIR}
65 fi 65 fi