summaryrefslogtreecommitdiffstats
path: root/meta/classes/grub-efi.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/grub-efi.bbclass')
-rw-r--r--meta/classes/grub-efi.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 4ddc2bb125..9a4220abdc 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -52,7 +52,8 @@ efi_iso_populate() {
52 mkdir -p ${EFIIMGDIR}/${EFIDIR} 52 mkdir -p ${EFIIMGDIR}/${EFIDIR}
53 cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR} 53 cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR}
54 cp $iso_dir/vmlinuz ${EFIIMGDIR} 54 cp $iso_dir/vmlinuz ${EFIIMGDIR}
55 echo "${GRUB_IMAGE}" > ${EFIIMGDIR}/startup.nsh 55 EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
56 echo "fs0:${EFIPATH}\\${GRUB_IMAGE}" > ${EFIIMGDIR}/startup.nsh
56 if [ -f "$iso_dir/initrd" ] ; then 57 if [ -f "$iso_dir/initrd" ] ; then
57 cp $iso_dir/initrd ${EFIIMGDIR} 58 cp $iso_dir/initrd ${EFIIMGDIR}
58 fi 59 fi